Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99F7411762 for ; Mon, 18 Aug 2014 09:31:38 +0000 (UTC) Received: (qmail 5850 invoked by uid 500); 18 Aug 2014 09:31:19 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 5832 invoked by uid 500); 18 Aug 2014 09:31:19 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 5810 invoked by uid 500); 18 Aug 2014 09:31:19 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 5805 invoked by uid 99); 18 Aug 2014 09:31:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 09:31:19 +0000 Date: Mon, 18 Aug 2014 09:31:19 +0000 (UTC) From: "Gaurav Aradhye (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-7138) [Automation] Fix the script "test_escalations_vpncustomergateways.py" - Fail to find customer gateway MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7138?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-7138. ---------------------------------------- Resolution: Fixed > [Automation] Fix the script "test_escalations_vpncustomergateways.py" - F= ail to find customer gateway > -------------------------------------------------------------------------= ---------------------------- > > Key: CLOUDSTACK-7138 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-713= 8 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation, Test > Affects Versions: 4.5.0 > Reporter: Chandan Purushothama > Assignee: Gaurav Aradhye > Priority: Critical > Fix For: 4.5.0 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Error Message: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: =3D=3D=3D= =3D=3D=3D=3D=3DSending GET Cmd : deleteVpnCustomerGateway=3D=3D=3D=3D=3D=3D= =3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.220.135.73 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3DC%2FYs0Z0CIZwnMXhXLn3c5hUxC44%3D&apiKey=3DRa1mlXzCZU0K1l4MKDWdRbQDU67P= CQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&command=3Ddelete= VpnCustomerGateway&id=3Dfd1ce29a-eba1-4933-8048-f6750144507f&response=3Djso= n HTTP/1.1" 200 89 > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: =3D=3D=3D J= obid: 65e64b4c-e08a-43f1-9c9b-6f090495d4fb Started =3D=3D=3D > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: Payload: {'= signature': 'movzhb8jh4K2t40vRU8Qfi3oR1w=3D', 'apiKey': u'Ra1mlXzCZU0K1l4MK= DWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA', 'co= mmand': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'65e64b4c-e08a= -43f1-9c9b-6f090495d4fb'} > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: =3D=3D=3D= =3D=3D=3D=3D=3DSending GET Cmd : queryAsyncJobResult=3D=3D=3D=3D=3D=3D=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.220.135.73 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3Dmovzhb8jh4K2t40vRU8Qfi3oR1w%3D&apiKey=3DRa1mlXzCZU0K1l4MKDWdRbQDU67PCQ= uRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&command=3DqueryAsy= ncJobResult&response=3Djson&jobid=3D65e64b4c-e08a-43f1-9c9b-6f090495d4fb HT= TP/1.1" 200 459 > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: Response : = {jobprocstatus : 0, created : u'2014-07-11T16:07:31+0000', cmd : u'org.apac= he.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd', userid : u= '9f654606-08ed-11e4-887d-928d578f5db8', jobstatus : 2, jobid : u'65e64b4c-e= 08a-43f1-9c9b-6f090495d4fb', jobresultcode : 530, jobresulttype : u'object'= , jobresult : {errorcode : 530, errortext : u'Fail to find customer gateway= with 3 !'}, accountid : u'9f6536a2-08ed-11e4-887d-928d578f5db8'} > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): ERROR: =3D=3D=3D= =3D __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : u= '2014-07-11T16:07:31+0000', cmd : u'org.apache.cloudstack.api.command.user.= vpn.DeleteVpnCustomerGatewayCmd', userid : u'9f654606-08ed-11e4-887d-928d57= 8f5db8', jobstatus : 2, jobid : u'65e64b4c-e08a-43f1-9c9b-6f090495d4fb', jo= bresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530,= errortext : u'Fail to find customer gateway with 3 !'}, accountid : u'9f65= 36a2-08ed-11e4-887d-928d578f5db8'} =3D=3D=3D=3D > Traceback (most recent call last): > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/cloudstackConnection.py", line 105, in __po= ll > % async_response) > Exception: Job failed: {jobprocstatus : 0, created : u'2014-07-11T16:07:3= 1+0000', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustom= erGatewayCmd', userid : u'9f654606-08ed-11e4-887d-928d578f5db8', jobstatus = : 2, jobid : u'65e64b4c-e08a-43f1-9c9b-6f090495d4fb', jobresultcode : 530, = jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Fail= to find customer gateway with 3 !'}, accountid : u'9f6536a2-08ed-11e4-887d= -928d578f5db8'} > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): DEBUG: Response : = FAILED > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): ERROR: marvinReque= st : CmdName: Exception: ['Traceback (most recent call= last):\n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/en= v/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 3= 75, in marvinRequest\n raise self.__lastError\n', "Exception: Job failed= : {jobprocstatus : 0, created : u'2014-07-11T16:07:31+0000', cmd : u'org.ap= ache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatewayCmd', userid := u'9f654606-08ed-11e4-887d-928d578f5db8', jobstatus : 2, jobid : u'65e64b4c= -e08a-43f1-9c9b-6f090495d4fb', jobresultcode : 530, jobresulttype : u'objec= t', jobresult : {errorcode : 530, errortext : u'Fail to find customer gatew= ay with 3 !'}, accountid : u'9f6536a2-08ed-11e4-887d-928d578f5db8'}\n"] > Traceback (most recent call last): > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/cloudstackConnection.py", line 375, in marv= inRequest > raise self.__lastError > Exception: Job failed: {jobprocstatus : 0, created : u'2014-07-11T16:07:3= 1+0000', cmd : u'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustom= erGatewayCmd', userid : u'9f654606-08ed-11e4-887d-928d578f5db8', jobstatus = : 2, jobid : u'65e64b4c-e08a-43f1-9c9b-6f090495d4fb', jobresultcode : 530, = jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Fail= to find customer gateway with 3 !'}, accountid : u'9f6536a2-08ed-11e4-887d= -928d578f5db8'} > test_01_list_vpncustomergateways_pagination (integration.component.test_e= scalations_vpncustomergateways.TestVpnCustomerGateways): CRITICAL: EXCEPTIO= N: test_01_list_vpncustomergateways_pagination: ['Traceback (most recent ca= ll last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 361, in r= un\n self.tearDown()\n', ' File "/home/jenkins/workspace/xenrt-reg-basi= c-xs/cloudstack.git/test/integration/component/test_escalations_vpncustomer= gateways.py", line 94, in tearDown\n cleanup_resources(self.apiClient, s= elf.cleanup)\n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.= 64/env/local/lib/python2.7/site-packages/marvin/lib/utils.py", line 121, in= cleanup_resources\n obj.delete(api_client)\n', ' File "/local/jenkins/= workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/= marvin/lib/base.py", line 3407, in delete\n apiclient.deleteVpnCustomerG= ateway(cmd)\n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.6= 4/env/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIC= lient.py", line 2309, in deleteVpnCustomerGateway\n response =3D self.co= nnection.marvinRequest(command, response_type=3Dresponse, method=3Dmethod)\= n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/= lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 380, in m= arvinRequest\n raise e\n', "Exception: Job failed: {jobprocstatus : 0, c= reated : u'2014-07-11T16:07:31+0000', cmd : u'org.apache.cloudstack.api.com= mand.user.vpn.DeleteVpnCustomerGatewayCmd', userid : u'9f654606-08ed-11e4-8= 87d-928d578f5db8', jobstatus : 2, jobid : u'65e64b4c-e08a-43f1-9c9b-6f09049= 5d4fb', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorc= ode : 530, errortext : u'Fail to find customer gateway with 3 !'}, accounti= d : u'9f6536a2-08ed-11e4-887d-928d578f5db8'}\n"] > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/lib/python2.7/unittest/case.py", line 361, in run > self.tearDown() > File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.git/test/in= tegration/component/test_escalations_vpncustomergateways.py", line 94, in t= earDown > cleanup_resources(self.apiClient, self.cleanup) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/lib/utils.py", line 121, in cleanup_resourc= es > obj.delete(api_client) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/lib/base.py", line 3407, in delete > apiclient.deleteVpnCustomerGateway(cmd) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line= 2309, in deleteVpnCustomerGateway > response =3D self.connection.marvinRequest(command, response_type=3Dr= esponse, method=3Dmethod) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/cloudstackConnection.py", line 380, in marv= inRequest > raise e > 'Job failed: {jobprocstatus : 0, created : u\'2014-07-11T16:07:31+0000\',= cmd : u\'org.apache.cloudstack.api.command.user.vpn.DeleteVpnCustomerGatew= ayCmd\', userid : u\'9f654606-08ed-11e4-887d-928d578f5db8\', jobstatus : 2,= jobid : u\'65e64b4c-e08a-43f1-9c9b-6f090495d4fb\', jobresultcode : 530, jo= bresulttype : u\'object\', jobresult : {errorcode : 530, errortext : u\'Fai= l to find customer gateway with 3 !\'}, accountid : u\'9f6536a2-08ed-11e4-8= 87d-928d578f5db8\'}\n-------------------- >> begin captured stdout << -----= ----------------\n=3D=3D=3D TestName: test_01_list_vpncustomergateways_pagi= nation | Status : EXCEPTION =3D=3D=3D\n\n\n--------------------- >> end cap= tured stdout << ----------------------\n-------------------- >> begin captu= red logging << --------------------\nCSLog: DEBUG: Payload: {\'apiKey\':=20 -- This message was sent by Atlassian JIRA (v6.2#6252)