cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Girish Shilamkar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6861) [Automation] Test case test_01_snapshot_root_disk during mount
Date Tue, 17 Jun 2014 07:09:01 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Girish Shilamkar resolved CLOUDSTACK-6861.
------------------------------------------

    Resolution: Fixed

> [Automation] Test case test_01_snapshot_root_disk during mount 
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6861
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6861
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> Test case in KVM, vmware and Xen,  integration.smoke.test_snapshots.TestSnapshotRootDisk.test_01_snapshot_root_disk
> Test case failing with below error 
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3235 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3230 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3225 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3220 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3215 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 428
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 0, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobinstanceid : u'4ab1e444-3384-4b29-88be-ddac701c39ac', jobinstancetype
: u'Snapshot', accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
=== JobId:42307458-d5a1-40f5-a04c-e06d2b250c94 is Still Processing, Will TimeOut in:3210 ====
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'signature': 'Cyz6xpRs0QH/c0hKq6eKpEZ0ZeU=', 'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'42307458-d5a1-40f5-a04c-e06d2b250c94'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=42307458-d5a1-40f5-a04c-e06d2b250c94&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=queryAsyncJobResult&response=json&signature=Cyz6xpRs0QH%2Fc0hKq6eKpEZ0ZeU%3D
HTTP/1.1" 200 859
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 1, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobresulttype : u'object', jobresult : {account : u'test-account-TestSnapshotRootDisk-S4C06S',
domainid : u'f8de93ba-ef64-11e3-8945-52b2d980df8a', name : u'TestVM-bddcd008-d9d9-4dbb-b3e8-f22b34ce0332_ROOT-7_20140609004114',
intervaltype : u'MANUAL', volumename : u'ROOT-7', created : u'2014-06-08T17:41:14-0700', volumetype
: u'ROOT', domain : u'ROOT', volumeid : u'92063a62-6074-4fbf-b760-6147125550ff', state : u'BackedUp',
snapshottype : u'MANUAL', revertable : False, id : u'4ab1e444-3384-4b29-88be-ddac701c39ac',
tags : []}, accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
===Jobid:42307458-d5a1-40f5-a04c-e06d2b250c94 ; StartTime:Sun Jun  8 11:46:46 2014 ; EndTime:Sun
Jun  8 11:53:18 2014 ; TotalTime:-392===
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : {jobprocstatus : 0, created : u'2014-06-08T17:41:14-0700', cmd : u'org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd',
userid : u'41e1d982-ef65-11e3-8945-52b2d980df8a', jobstatus : 1, jobid : u'42307458-d5a1-40f5-a04c-e06d2b250c94',
jobresultcode : 0, jobresulttype : u'object', jobresult : {account : u'test-account-TestSnapshotRootDisk-S4C06S',
domainid : u'f8de93ba-ef64-11e3-8945-52b2d980df8a', name : u'TestVM-bddcd008-d9d9-4dbb-b3e8-f22b34ce0332_ROOT-7_20140609004114',
intervaltype : u'MANUAL', volumename : u'ROOT-7', created : u'2014-06-08T17:41:14-0700', volumetype
: u'ROOT', domain : u'ROOT', volumeid : u'92063a62-6074-4fbf-b760-6147125550ff', state : u'BackedUp',
snapshottype : u'MANUAL', revertable : False, id : u'4ab1e444-3384-4b29-88be-ddac701c39ac',
tags : []}, accountid : u'41e1ce56-ef65-11e3-8945-52b2d980df8a'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Snapshot created: ID - 4ab1e444-3384-4b29-88be-ddac701c39ac
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'response': 'json', 'command': 'listSnapshots', 'signature': '6Og4vsVV/LAu8nsEToQyCIps+hE=',
'id': u'4ab1e444-3384-4b29-88be-ddac701c39ac'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : listSnapshots=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?id=4ab1e444-3384-4b29-88be-ddac701c39ac&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=listSnapshots&response=json&signature=6Og4vsVV%2FLAu8nsEToQyCIps%2BhE%3D
HTTP/1.1" 200 527
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : [{account : u'test-account-TestSnapshotRootDisk-S4C06S', domainid : u'f8de93ba-ef64-11e3-8945-52b2d980df8a',
name : u'TestVM-bddcd008-d9d9-4dbb-b3e8-f22b34ce0332_ROOT-7_20140609004114', intervaltype
: u'MANUAL', volumename : u'ROOT-7', created : u'2014-06-08T17:41:14-0700', volumetype : u'ROOT',
domain : u'ROOT', volumeid : u'92063a62-6074-4fbf-b760-6147125550ff', state : u'BackedUp',
snapshottype : u'MANUAL', revertable : False, id : u'4ab1e444-3384-4b29-88be-ddac701c39ac',
tags : []}]
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
select backup_snap_id, account_id, volume_id from snapshots where uuid = '4ab1e444-3384-4b29-88be-ddac701c39ac';
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'id': 1, 'command': 'listImageStores', 'signature': 'orxC3/S0kuG8YLuNfhlad9TDE/0=', 'zoneid':
u'749711ea-7fe6-4443-bec5-802c2272a4be', 'response': 'json'}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : listImageStores=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&zoneid=749711ea-7fe6-4443-bec5-802c2272a4be&command=listImageStores&signature=orxC3%2FS0kuG8YLuNfhlad9TDE%2F0%3D&id=1&response=json
HTTP/1.1" 200 423
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : [{protocol : u'nfs', name : u'nfs://nfs1-ccp.citrix.com:/home/common/automation/SC-CLOUD-QA03/secondary1',
providername : u'NFS', url : u'nfs://nfs1-ccp.citrix.com:/home/common/automation/SC-CLOUD-QA03/secondary1',
zoneid : u'749711ea-7fe6-4443-bec5-802c2272a4be', details : [], scope : u'ZONE', id : u'5ab623c6-cc50-49dc-a069-d1beecfd809d',
zonename : u'Adv-VMware-Zone1'}]
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Payload: {'apiKey': u'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q',
'command': 'listHosts', 'signature': 'qCBXAMIUKidVZd5U+v7HDR11Rro=', 'type': 'Routing', 'response':
'json', 'listall': True}
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
========Sending GET Cmd : listHosts=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=listHosts&signature=qCBXAMIUKidVZd5U%2Bv7HDR11Rro%3D&type=Routing&response=json&listall=True
HTTP/1.1" 200 3393
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): DEBUG:
Response : [{cpuwithoverprovisioning : u'8800.0', version : u'4.4.0-SNAPSHOT', memorytotal
: 17098514432, zoneid : u'84998fad-104c-4e79-8392-a6cf19f65523', cpunumber : 4, managementserverid
: 90928106758026, cpuallocated : u'11.36%', memoryused : 2032040, id : u'd7a68d86-b12d-4532-b557-73bb5b153a3f',
cpuused : u'0.38%', hypervisorversion : u'5.0', clusterid : u'8ca6b26f-c3f0-420b-9940-8c745f9ed6f5',
capabilities : u'hvm', state : u'Up', memoryallocated : 1610612736, networkkbswrite : 0, cpuspeed
: 2200, cpusockets : 1, type : u'Routing', events : u'AgentConnected; PingTimeout; Remove;
StartAgentRebalance; Ping; HostDown; ShutdownRequested; ManagementServerDown; AgentDisconnected',
zonename : u'Adv-VMware-Zone2', podid : u'3a2743ff-1923-4d7d-aa0f-306011a10c31', clustertype
: u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T12:23:28-0800', ipaddress
: u'10.223.250.66', disconnected : u'2014-06-08T17:29:00-0700', name : u'10.223.250.66', networkkbsread
: 0, created : u'2014-06-08T16:56:34-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03-DC2/esxcluster2',
hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname
: u'POD02'}, {cpuwithoverprovisioning : u'8796.0', version : u'4.4.0-SNAPSHOT', memorytotal
: 17098514432, zoneid : u'749711ea-7fe6-4443-bec5-802c2272a4be', cpunumber : 4, managementserverid
: 90928106758026, cpuallocated : u'6.82%', memoryused : 1961384, id : u'7d077881-8708-4d89-87fa-6698a229b334',
cpuused : u'28.06%', hypervisorversion : u'5.0', clusterid : u'87b7273c-c323-495c-b204-37b8c2bcafa9',
capabilities : u'hvm', state : u'Up', memoryallocated : 1207959552, networkkbswrite : 0, cpuspeed
: 2199, cpusockets : 1, type : u'Routing', events : u'AgentConnected; PingTimeout; Remove;
StartAgentRebalance; Ping; HostDown; ShutdownRequested; ManagementServerDown; AgentDisconnected',
zonename : u'Adv-VMware-Zone1', podid : u'4f225406-03f7-4b0f-9df6-7a5efd12cd0d', clustertype
: u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T12:23:28-0800', ipaddress
: u'10.223.250.130', disconnected : u'2014-06-08T17:29:00-0700', name : u'10.223.250.130',
networkkbsread : 0, created : u'2014-06-08T16:52:50-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03/esxcluster',
hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname
: u'POD01'}, {cpuwithoverprovisioning : u'8796.0', version : u'4.4.0-SNAPSHOT', memorytotal
: 17098514432, zoneid : u'749711ea-7fe6-4443-bec5-802c2272a4be', cpunumber : 4, managementserverid
: 90928106758026, cpuallocated : u'45.48%', memoryused : 3590568, id : u'81a6ed97-5858-48a1-8af0-dd8ad1de55dc',
cpuused : u'29.17%', hypervisorversion : u'5.0', clusterid : u'87b7273c-c323-495c-b204-37b8c2bcafa9',
capabilities : u'hvm', state : u'Up', memoryallocated : 2013265920, networkkbswrite : 0, cpuspeed
: 2199, cpusockets : 1, type : u'Routing', events : u'AgentConnected; PingTimeout; Remove;
StartAgentRebalance; Ping; HostDown; ShutdownRequested; ManagementServerDown; AgentDisconnected',
zonename : u'Adv-VMware-Zone1', podid : u'4f225406-03f7-4b0f-9df6-7a5efd12cd0d', clustertype
: u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T12:23:28-0800', ipaddress
: u'10.223.250.131', disconnected : u'2014-06-08T17:29:00-0700', name : u'10.223.250.131',
networkkbsread : 0, created : u'2014-06-08T16:52:34-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03/esxcluster',
hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname
: u'POD01'}]
> sshClient: DEBUG: ====Trying SSH Connection: Host:10.223.49.197 User:root           
                       Port:22 RetryCnt:60===
> paramiko.transport: DEBUG: starting thread (client mode): 0x18461b10L
> paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_5.3)
> paramiko.transport: DEBUG: kex algos:[u'diffie-hellman-group-exchange-sha256', u'diffie-hellman-group-exchange-sha1',
u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa', u'ssh-dss']
client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', u'arcfour128',
u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc',
u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-cbc@lysator.liu.se']
client mac:[u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com', u'hmac-ripemd160', u'hmac-ripemd160@openssh.com',
u'hmac-sha1-96', u'hmac-md5-96'] server mac:[u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'hmac-ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96'] client
compress:[u'none', u'zlib@openssh.com'] server compress:[u'none', u'zlib@openssh.com'] client
lang:[u''] server lang:[u''] 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.197: dffd39002f33ede4272e9246a0b10afc
> paramiko.transport: DEBUG: Trying discovered key d73731e045a189d941928d25f66aa458 in
/root/.ssh/id_rsa
> paramiko.transport: DEBUG: userauth is OK
> paramiko.transport: INFO: Authentication (publickey) successful!
> sshClient: DEBUG: ===SSH to Host 10.223.49.197 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
> paramiko.transport: DEBUG: [chan 1] EOF received (1)
> paramiko.transport: DEBUG: [chan 1] EOF sent (1)
> sshClient: DEBUG: {Cmd: mkdir -p %s /mnt/tmp via Host: 10.223.49.197} {returns: []}
> 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: mount -t nfs nfs1-ccp.citrix.com::/home/common/automation/SC-CLOUD-QA03/secondary1
/mnt/tmp via Host: 10.223.49.197} {returns: [u'mount.nfs: access denied by server while mounting
nfs1-ccp.citrix.com::/home/common/automation/SC-CLOUD-QA03/secondary1']}
> 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/7/7/4dbf66d9-c1b6-4aa5-87d7-279e5e05671d/4dbf66d9-c1b6-4aa5-87d7-279e5e05671d.ovf
&& echo 'snapshot exists' via Host: 10.223.49.197} {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.197} {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.197} {returns: [u'umount:
/mnt/tmp: not mounted']}
> paramiko.transport: DEBUG: EOF in transport thread
> test_01_snapshot_root_disk (integration.smoke.test_snapshots.TestSnapshotRootDisk): CRITICAL:
FAILED: test_01_snapshot_root_disk: ['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_snapshots.py",
line 175, in test_01_snapshot_root_disk\n    self.assertTrue(is_snapshot_on_nfs(self.apiclient,
self.dbclient, self.config, self.zone.id, snapshot.id))\n', '  File "/usr/local/lib/python2.7/unittest/case.py",
line 405, in assertTrue\n    raise self.failureException(msg)\n', 'AssertionError: False is
not True\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_snapshots.py", line 175,
in test_01_snapshot_root_disk
>     self.assertTrue(is_snapshot_on_nfs(self.apiclient, self.dbclient, self.config, self.zone.id,
snapshot.id))
>   File "/usr/local/lib/python2.7/unittest/case.py", line 405, in assertTrue
>     raise self.failureException(msg)
> 'False is not True\n-------------------- >> begin captured stdout << ---------------------\n===
TestName: test_01_snapshot_root_disk | Status : FAILED ===\n\n\n--------------------- >>
end captured stdout << ----------------------\n-------------------- >> begin captured
logging << --------------------\nCSLog: DEBUG: Payload: {\'apiKey\': u\'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q\',
\'command\': \'listDomains\', \'signature\': \'XU2EtOdzpHwEgDm2NFleZQrkh1s=\', \'response\':
\'json\'}\nCSLog: DEBUG: ========Sending GET Cmd : listDomains=======\nrequests.packages.urllib3.connectionpool:
INFO: Starting new HTTP connection (1): 10.223.49.197\nrequests.packages.urllib3.connectionpool:
DEBUG: "GET /client/api?apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q&command=listDomains&response=json&signature=XU2EtOdzpHwEgDm2NFleZQrkh1s%3D
HTTP/1.1" 200 159\nCSLog: DEBUG: Response : [{path : u\'ROOT\', haschild : False, id : u\'f8de93ba-ef64-11e3-8945-52b2d980df8a\',
name : u\'ROOT\', level : 0}]\nCSLog: DEBUG: Payload: {\'apiKey\': u\'8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbEpU2lQRjDKKxtqsRX2hd4CJ2LlYvjhxnbMzNXNojum1bWZZKQrX3Q\',
\'name\': \'Adv-VMware-Zone1\', \'command\': \'listZones\', \'signature\': \'NaW9rxw7klBzOvpzLA1nMkkCPtM=\',
\'response\': \'json\'}\nCSLog: DEBUG: ========Sending GET Cmd : listZones=======\nrequests.packages.urllib3.connectionpool:
INFO: Starting new HTTP connection (1): 10.223.49.197\nrequests.packages.urllib3.connectionpool:
DEBUG: "GET /client/api?response=json&apiKey=8N0nq0AhbHLU2aggsjFZadWAnNYxtSJNbE



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message