Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1632F1819F for ; Wed, 4 Nov 2015 10:25:28 +0000 (UTC) Received: (qmail 30134 invoked by uid 500); 4 Nov 2015 10:25:27 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 30076 invoked by uid 500); 4 Nov 2015 10:25:27 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 30062 invoked by uid 99); 4 Nov 2015 10:25:27 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 10:25:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DB1A31A07C9 for ; Wed, 4 Nov 2015 10:25:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wjHjbPP_6y54 for ; Wed, 4 Nov 2015 10:25:12 +0000 (UTC) Received: from SMTP.CITRIX.COM.AU (smtp.citrix.com.au [103.14.252.240]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B7E7C207D6 for ; Wed, 4 Nov 2015 10:25:10 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.20,242,1444694400"; d="scan'208";a="26632472" From: Raja Pullela To: "dev@cloudstack.apache.org" Subject: RE: test_vpc_vpn.py failing 2 BVTs on all Advnetworking config Thread-Topic: test_vpc_vpn.py failing 2 BVTs on all Advnetworking config Thread-Index: AQHREzI4LCDo4wmwcEiF4EQ/uSsomJ6Ju2yAgACWUJ2AAV3d8A== Date: Wed, 4 Nov 2015 10:24:59 +0000 Message-ID: <93238155381A8343BD3FFE2CB75BC9E723BD26C4@SINPEX01CL01.citrite.net> References: <93238155381A8343BD3FFE2CB75BC9E723BC6F48@SINPEX01CL01.citrite.net> ,<887B95C2-7717-4E97-BDF3-9A78BC34A80E@schubergphilis.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP: SIN1 Remi, Rajani, can you push this PR in ? =20 Best, Raja -----Original Message----- From: Raja Pullela [mailto:raja.pullela@citrix.com]=20 Sent: Tuesday, November 3, 2015 7:02 PM To: dev@cloudstack.apache.org Subject: Re: test_vpc_vpn.py failing 2 BVTs on all Advnetworking config Cool, thanks Remi! a job is scheduled to run tomorrow morning and looking = forward to see 100% passrates!=20 Best Raja=20 > On Nov 3, 2015, at 6:05 PM, Remi Bergsma wr= ote: >=20 > Hi Raja, >=20 > Please see this PR: https://github.com/apache/cloudstack/pull/1028 >=20 > Regards, > Remi >=20 >=20 >=20 >=20 >> On 30/10/15 17:44, "Raja Pullela" wrote: >>=20 >> Hi Michael >>=20 >> Can you please add a wait for the template to download before the VM cr= eation? >>=20 >> Raja >> Begin forwarded message: >> From: Raja Pullela=20 >> > >> Date: October 29, 2015 at 11:49:59 AM GMT+5:30 >> To: "CloudStack Dev=20 >> (dev@cloudstack.apache.org)"=20 >> > >> Subject: Few BVTs failing >> Reply-To:=20 >> > >>=20 >> Hi, >>=20 >> In the latest BVTs, following tests are failing consistently - >>=20 >> * 2015-10-29 00:27:43,987 - CRITICAL - FAILED: test_vpc_remote_a= ccess_vpn: ['Traceback (most recent call last):\n', ' File "/usr/lib/pytho= n2.7/unittest/case.py", line 329, in run\n testMethod()\n', ' File "/ro= ot/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 333, in test_vp= c_remote_access_vpn\n self.fail(e)\n', ' File "/usr/lib/python2.7/unitt= est/case.py", line 410, in fail\n raise self.failureException(msg)\n', '= AssertionError: Execute cmd: deployvirtualmachine failed, due to: errorCode= : 530, errorText:Template 202 has not been completely downloaded to zone 1\= n'] >>=20 >> * 2015-10-29 00:28:02,194 - CRITICAL - EXCEPTION: test_vpc_site2= site_vpn: ['Traceback (most recent call last):\n', ' File "/usr/lib/python= 2.7/unittest/case.py", line 329, in run\n testMethod()\n', ' File "/roo= t/cloudstack/test/integration/smoke/test_vpc_vpn.py", line 589, in test_vpc= _site2site_vpn\n self.assert_(vm1 is not None, "VM failed to deploy")\n'= , "UnboundLocalError: local variable 'vm1' referenced before assignment\n"] >>=20 >> * 2015-10-29 02:02:15,167 - CRITICAL - EXCEPTION: test_01_intern= allb_roundrobin_1VPC_3VM_HTTP_port80: ['Traceback (most recent call last):\= n', ' File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n te= stMethod()\n', ' File "/root/cloudstack/test/integration/smoke/test_intern= al_lb.py", line 576, in test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80\= n client_vm =3D self.deployvm_in_network(vpc, network_guestnet.id)\n', '= File "/root/cloudstack/test/integration/smoke/test_internal_lb.py", line = 382, in deployvm_in_network\n raise Exception("Deployment failed of VM: = %s" % e)\n', "Exception: Deployment failed of VM: Job failed: {jobprocstatu= s : 0, created : u'2015-10-29T02:02:09+0000', jobresult : {errorcode : 533,= errortext : u'Unable to create a deployment for VM[User|i-36-69-VM]'}, cmd= : u'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', userid= : u'afe432e8-7dd7-11e5-9ca5-b230fb1ebb83', jobstatus : 2, jobid : u'de5a23= 9a-c70c-4039-9e8e-2ea9b80ed28b', jobresultcode : 530, jobinstanceid : u'477= 70620-0c37-4e7c-91e0-666bf7fe5eaa', jobresulttype : u'object', jobinstancet= ype : u'VirtualMachine', accountid : u'afe422b2-7dd7-11e5-9ca5-b230fb1ebb83= '}\n"] >>=20 >> * 2015-10-29 02:00:33,135 - CRITICAL - EXCEPTION: test02_interna= llb_haproxy_stats_on_all_interfaces: ['Traceback (most recent call last):\n= ', ' File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n tes= tMethod()\n', ' File "/root/cloudstack/test/integration/smoke/test_interna= l_lb.py", line 686, in test02_internallb_haproxy_stats_on_all_interfaces\n = settings =3D self.get_lb_stats_settings()\n', ' File "/root/cloudstack/= test/integration/smoke/test_internal_lb.py", line 646, in get_lb_stats_sett= ings\n self.fail("Failed to retrieve stats settings " % e)\n', 'TypeErro= r: not all arguments converted during string formatting\n'] >>=20 >> Looks like these were added by Michael. >>=20 >> Michael, >> Can you optimize the tests with the following >>=20 >> 1) Before the VM Deployment or right after Template Register, can y= ou put a loop to check if the Template is in a ready state before continuin= g with the test ? The reason is Template download is not getting completed = and as a result the test cases are failing. >>=20 >> 2) Any reason for not using test_data.py to have all the configurat= ion/settings you have defined the test file ? >>=20 >> Please let me know if you have any questions, Raja >>=20