cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5443) [Automation] Test cases failing with error "'cloudConnection' object has no attribute 'logging'"
Date Tue, 10 Dec 2013 18:36:07 GMT

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

Rayees Namathponnan updated CLOUDSTACK-5443:
--------------------------------------------

    Description: 
job:37 Regression_VMWARE_50_Multi_2

Automation test cases failing with cloudstack connection error "'cloudConnection' object has
no attribute 'logging'",  this issue observed with latest Marvin

Test cases failing 

integration.component.test_assign_vm.TestVMOwnership.test_09_move_across_subdomain 
integration.component.test_cpu_limits.TestDomainCPULimitsConfiguration.test_01_stop_start_instance
integration.component.test_cpu_project_limits.TestProjectsCPULimits.test_01_project_counts_start_stop_instance
integration.component.test_mm_project_limits.TestProjectsMemoryLimits.test_01_project_vmlifecycle_start_stop_instance



Observed below error 

Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
'cloudConnection' object has no attribute 'logging'

Error Message

'cloudConnection' object has no attribute 'logging'
-------------------- >> begin captured logging << --------------------
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': 'ROOT'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
HTTP/1.1" 200 158
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"e122f80a-6135-11e3-9c62-52b2d980df8a","name":"ROOT","level":0,"haschild":true,"path":"ROOT"}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': u'Domain-Z1P4GU', 'listall': True}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: aHNonLmePpsQ+D70YMGp5EsVTz8=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
HTTP/1.1" 200 287
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","name":"Domain-Z1P4GU","level":2,"parentdomainid":"b6722bca-3cdb-44fc-9c40-79c06f6c95ef","parentdomainname":"Domain-BC9BFM","haschild":false,"path":"ROOT/Domain-BC9BFM/Domain-Z1P4GU"}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listAccounts {'domainid': u'1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8', 'name':
u'test-TestVMOwnership-PISLSP'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: txcmvGEDdSpit0pVzv3uW6Ub9+0=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
HTTP/1.1" 200 1907
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
Response: { "listaccountsresponse" : { "count":1 ,"account" : [  {"id":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","name":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","receivedbytes":0,"sentbytes":0,"vmlimit":"20","vmtotal":0,"vmavailable":"20","iplimit":"20","iptotal":1,"ipavailable":"19","volumelimit":"20","volumetotal":2,"volumeavailable":"18","snapshotlimit":"20","snapshottotal":0,"snapshotavailable":"20","templatelimit":"20","templatetotal":0,"templateavailable":"20","projectlimit":"Unlimited","projecttotal":1,"projectavailable":"Unlimited","networklimit":"20","networktotal":1,"networkavailable":"19","vpclimit":"20","vpctotal":0,"vpcavailable":"20","cpulimit":"40","cputotal":0,"cpuavailable":"40","memorylimit":"40960","memorytotal":0,"memoryavailable":"40960","primarystoragelimit":"200","primarystoragetotal":3,"primarystorageavailable":"197","secondarystoragelimit":"400","secondarystoragetotal":0,"secondarystorageavailable":"400","state":"enabled","user":[{"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false},{"id":"754be7fc-1115-4a55-b852-e00ad79c936e","username":"User-BDMOR9","firstname":"User","lastname":"User","email":"user@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false}],"isdefault":false}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listUsers {'username': u'test-TestVMOwnership-PISLSP'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: 2izGWeAhlKS/e0lsZCoDKqttkdc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
HTTP/1.1" 200 484
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
Response: { "listusersresponse" : { "count":1 ,"user" : [  {"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":true,"isdefault":false}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: registerUserKeys {'id': u'a4de54ed-a906-4459-bc0e-b3a6c86bb614'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: 53UIi8h/l85XcoYe5D/f9NmVcys=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
HTTP/1.1" 200 252
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
Response: { "registeruserkeysresponse" :  { "userkeys" : {"apikey":"bgo2qv1yOmbfdIyAqF5evefcRB_5qF8o4VlEmClW8Zm-wOggubWLFssErNlhlAte3n4vsKRLmlPur3G6TQ1wdg","secretkey":"0ugBLVsW9RE-5BtKIffLSZOzSU5kSDQctaMVM8HOgnuTh2g8CXayKLBdaoZk3yfOcifGCozeww21jy5oFTQ30A"}
}  }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Test <function test_09_move_across_subdomain at 0xc538578> Failed due to Exception='cloudConnection'
object has no attribute 'logging'
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): CRITICAL:
EXCEPTION: test_09_move_across_subdomain: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
AttributeError: 'cloudConnection' object has no attribute 'logging'

--------------------- >> 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/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
'cloudConnection' object has no attribute 'logging'
-------------------- >> begin captured logging << --------------------
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': 'ROOT'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197

  was:
job:37 Regression_VMWARE_50_Multi_2

Automation test cases failing with cloudstack connection error "'cloudConnection' object has
no attribute 'logging'",  this issue observed with latest Marvin

Test cases failing 

integration.component.test_assign_vm.TestVMOwnership.test_09_move_across_subdomain 
integration.component.test_cpu_limits.TestDomainCPULimitsConfiguration.test_01_stop_start_instance
integration.component.test_cpu_project_limits.TestProjectsCPULimits.test_01_project_counts_start_stop_instance



Observed below error 

Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
'cloudConnection' object has no attribute 'logging'

Error Message

'cloudConnection' object has no attribute 'logging'
-------------------- >> begin captured logging << --------------------
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': 'ROOT'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
HTTP/1.1" 200 158
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"e122f80a-6135-11e3-9c62-52b2d980df8a","name":"ROOT","level":0,"haschild":true,"path":"ROOT"}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': u'Domain-Z1P4GU', 'listall': True}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: aHNonLmePpsQ+D70YMGp5EsVTz8=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
HTTP/1.1" 200 287
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","name":"Domain-Z1P4GU","level":2,"parentdomainid":"b6722bca-3cdb-44fc-9c40-79c06f6c95ef","parentdomainname":"Domain-BC9BFM","haschild":false,"path":"ROOT/Domain-BC9BFM/Domain-Z1P4GU"}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listAccounts {'domainid': u'1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8', 'name':
u'test-TestVMOwnership-PISLSP'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: txcmvGEDdSpit0pVzv3uW6Ub9+0=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
HTTP/1.1" 200 1907
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
Response: { "listaccountsresponse" : { "count":1 ,"account" : [  {"id":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","name":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","receivedbytes":0,"sentbytes":0,"vmlimit":"20","vmtotal":0,"vmavailable":"20","iplimit":"20","iptotal":1,"ipavailable":"19","volumelimit":"20","volumetotal":2,"volumeavailable":"18","snapshotlimit":"20","snapshottotal":0,"snapshotavailable":"20","templatelimit":"20","templatetotal":0,"templateavailable":"20","projectlimit":"Unlimited","projecttotal":1,"projectavailable":"Unlimited","networklimit":"20","networktotal":1,"networkavailable":"19","vpclimit":"20","vpctotal":0,"vpcavailable":"20","cpulimit":"40","cputotal":0,"cpuavailable":"40","memorylimit":"40960","memorytotal":0,"memoryavailable":"40960","primarystoragelimit":"200","primarystoragetotal":3,"primarystorageavailable":"197","secondarystoragelimit":"400","secondarystoragetotal":0,"secondarystorageavailable":"400","state":"enabled","user":[{"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false},{"id":"754be7fc-1115-4a55-b852-e00ad79c936e","username":"User-BDMOR9","firstname":"User","lastname":"User","email":"user@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false}],"isdefault":false}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listUsers {'username': u'test-TestVMOwnership-PISLSP'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: 2izGWeAhlKS/e0lsZCoDKqttkdc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
HTTP/1.1" 200 484
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
Response: { "listusersresponse" : { "count":1 ,"user" : [  {"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":true,"isdefault":false}
] } }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: registerUserKeys {'id': u'a4de54ed-a906-4459-bc0e-b3a6c86bb614'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: 53UIi8h/l85XcoYe5D/f9NmVcys=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
HTTP/1.1" 200 252
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Request: http://10.223.49.197:8080/client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
Response: { "registeruserkeysresponse" :  { "userkeys" : {"apikey":"bgo2qv1yOmbfdIyAqF5evefcRB_5qF8o4VlEmClW8Zm-wOggubWLFssErNlhlAte3n4vsKRLmlPur3G6TQ1wdg","secretkey":"0ugBLVsW9RE-5BtKIffLSZOzSU5kSDQctaMVM8HOgnuTh2g8CXayKLBdaoZk3yfOcifGCozeww21jy5oFTQ30A"}
}  }
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Test <function test_09_move_across_subdomain at 0xc538578> Failed due to Exception='cloudConnection'
object has no attribute 'logging'
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): CRITICAL:
EXCEPTION: test_09_move_across_subdomain: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
AttributeError: 'cloudConnection' object has no attribute 'logging'

--------------------- >> 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/component/test_assign_vm.py", line 48,
in test_wrap_exception_log
    raise e
'cloudConnection' object has no attribute 'logging'
-------------------- >> begin captured logging << --------------------
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
sending GET request: listDomains {'name': 'ROOT'}
test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197


> [Automation] Test cases failing with error "'cloudConnection' object has no attribute
'logging'"
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5443
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5443
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, marvin
>    Affects Versions: 4.3.0
>         Environment: vmware
>            Reporter: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> job:37 Regression_VMWARE_50_Multi_2
> Automation test cases failing with cloudstack connection error "'cloudConnection' object
has no attribute 'logging'",  this issue observed with latest Marvin
> Test cases failing 
> integration.component.test_assign_vm.TestVMOwnership.test_09_move_across_subdomain 
> integration.component.test_cpu_limits.TestDomainCPULimitsConfiguration.test_01_stop_start_instance
> integration.component.test_cpu_project_limits.TestProjectsCPULimits.test_01_project_counts_start_stop_instance
integration.component.test_mm_project_limits.TestProjectsMemoryLimits.test_01_project_vmlifecycle_start_stop_instance

> Observed below error 
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line
48, in test_wrap_exception_log
>     raise e
> 'cloudConnection' object has no attribute 'logging'
> Error Message
> 'cloudConnection' object has no attribute 'logging'
> -------------------- >> begin captured logging << --------------------
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: ::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: listDomains {'name': 'ROOT'}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
HTTP/1.1" 200 158
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=ROOT&command=listDomains&signature=pvEAZcMfP6d6DvVUwquxrLc4Yfc%3D&response=json
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"e122f80a-6135-11e3-9c62-52b2d980df8a","name":"ROOT","level":0,"haschild":true,"path":"ROOT"}
] } }
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: listDomains {'name': u'Domain-Z1P4GU', 'listall': True}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: aHNonLmePpsQ+D70YMGp5EsVTz8=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
HTTP/1.1" 200 287
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&name=Domain-Z1P4GU&command=listDomains&signature=aHNonLmePpsQ%2BD70YMGp5EsVTz8%3D&response=json&listall=True
Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","name":"Domain-Z1P4GU","level":2,"parentdomainid":"b6722bca-3cdb-44fc-9c40-79c06f6c95ef","parentdomainname":"Domain-BC9BFM","haschild":false,"path":"ROOT/Domain-BC9BFM/Domain-Z1P4GU"}
] } }
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: listAccounts {'domainid': u'1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8',
'name': u'test-TestVMOwnership-PISLSP'}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: txcmvGEDdSpit0pVzv3uW6Ub9+0=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
HTTP/1.1" 200 1907
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Request: http://10.223.49.197:8080/client/api?domainid=1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8&name=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listAccounts&signature=txcmvGEDdSpit0pVzv3uW6Ub9%2B0%3D&response=json
Response: { "listaccountsresponse" : { "count":1 ,"account" : [  {"id":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","name":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","receivedbytes":0,"sentbytes":0,"vmlimit":"20","vmtotal":0,"vmavailable":"20","iplimit":"20","iptotal":1,"ipavailable":"19","volumelimit":"20","volumetotal":2,"volumeavailable":"18","snapshotlimit":"20","snapshottotal":0,"snapshotavailable":"20","templatelimit":"20","templatetotal":0,"templateavailable":"20","projectlimit":"Unlimited","projecttotal":1,"projectavailable":"Unlimited","networklimit":"20","networktotal":1,"networkavailable":"19","vpclimit":"20","vpctotal":0,"vpcavailable":"20","cpulimit":"40","cputotal":0,"cpuavailable":"40","memorylimit":"40960","memorytotal":0,"memoryavailable":"40960","primarystoragelimit":"200","primarystoragetotal":3,"primarystorageavailable":"197","secondarystoragelimit":"400","secondarystoragetotal":0,"secondarystorageavailable":"400","state":"enabled","user":[{"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false},{"id":"754be7fc-1115-4a55-b852-e00ad79c936e","username":"User-BDMOR9","firstname":"User","lastname":"User","email":"user@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":false,"isdefault":false}],"isdefault":false}
] } }
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: listUsers {'username': u'test-TestVMOwnership-PISLSP'}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: 2izGWeAhlKS/e0lsZCoDKqttkdc=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
HTTP/1.1" 200 484
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Request: http://10.223.49.197:8080/client/api?username=test-TestVMOwnership-PISLSP&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=listUsers&signature=2izGWeAhlKS%2Fe0lsZCoDKqttkdc%3D&response=json
Response: { "listusersresponse" : { "count":1 ,"user" : [  {"id":"a4de54ed-a906-4459-bc0e-b3a6c86bb614","username":"test-TestVMOwnership-PISLSP","firstname":"Test","lastname":"User","email":"test@test.com","created":"2013-12-10T01:03:51-0800","state":"enabled","account":"test-TestVMOwnership-PISLSP","accounttype":0,"domainid":"1c49167e-a6c4-4cbd-9afa-7dd0b28f9fa8","domain":"Domain-Z1P4GU","accountid":"9dd01819-4c81-4eb1-8e40-f8f6226bccbd","iscallerchilddomain":true,"isdefault":false}
] } }
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: registerUserKeys {'id': u'a4de54ed-a906-4459-bc0e-b3a6c86bb614'}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: 53UIi8h/l85XcoYe5D/f9NmVcys=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
HTTP/1.1" 200 252
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Request: http://10.223.49.197:8080/client/api?signature=53UIi8h%2Fl85XcoYe5D%2Ff9NmVcys%3D&apiKey=Q438pTijzg8GTLcjOLCqAKRS1bot1P5ZV6jquQNyUBUpZeBrIWOg3X50pVi6J6MadD7B9cWREBJPPR2BrCGviQ&command=registerUserKeys&id=a4de54ed-a906-4459-bc0e-b3a6c86bb614&response=json
Response: { "registeruserkeysresponse" :  { "userkeys" : {"apikey":"bgo2qv1yOmbfdIyAqF5evefcRB_5qF8o4VlEmClW8Zm-wOggubWLFssErNlhlAte3n4vsKRLmlPur3G6TQ1wdg","secretkey":"0ugBLVsW9RE-5BtKIffLSZOzSU5kSDQctaMVM8HOgnuTh2g8CXayKLBdaoZk3yfOcifGCozeww21jy5oFTQ30A"}
}  }
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Test <function test_09_move_across_subdomain at 0xc538578> Failed due to Exception='cloudConnection'
object has no attribute 'logging'
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
CRITICAL: EXCEPTION: test_09_move_across_subdomain: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_assign_vm.py", line
48, in test_wrap_exception_log
>     raise e
> AttributeError: 'cloudConnection' object has no attribute 'logging'
> --------------------- >> 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/component/test_assign_vm.py", line
48, in test_wrap_exception_log
>     raise e
> 'cloudConnection' object has no attribute 'logging'
> -------------------- >> begin captured logging << --------------------
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: ::::::::::::STARTED : TC: test_09_move_across_subdomain :::::::::::
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: sending GET request: listDomains {'name': 'ROOT'}
> test_09_move_across_subdomain (integration.component.test_assign_vm.TestVMOwnership):
DEBUG: Computed Signature by Marvin: pvEAZcMfP6d6DvVUwquxrLc4Yfc=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message