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 8C6071116D for ; Mon, 15 Sep 2014 06:43:34 +0000 (UTC) Received: (qmail 25765 invoked by uid 500); 15 Sep 2014 06:43:34 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 25728 invoked by uid 500); 15 Sep 2014 06:43:34 -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 25718 invoked by uid 500); 15 Sep 2014 06:43:34 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 25715 invoked by uid 99); 15 Sep 2014 06:43:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 06:43:34 +0000 Date: Mon, 15 Sep 2014 06:43:34 +0000 (UTC) From: "Gaurav Aradhye (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-7135) [Automation] Fix the script "test_baremetal.py" - Can't have more than one Guest network in zone with network type Basic 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-7135?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-7135: --------------------------------------- Status: Reviewable (was: In Progress) > [Automation] Fix the script "test_baremetal.py" - Can't have more than on= e Guest network in zone with network type Basic > -------------------------------------------------------------------------= ----------------------------------------------- > > Key: CLOUDSTACK-7135 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-713= 5 > 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 > Error Message: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > test_baremetal (integration.component.test_baremetal.TestBaremetal): DEBU= G: =3D=3D=3D=3D=3D=3D=3D=3DSending GET Cmd : createNetwork=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?apiKey= =3DRa1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BC= uUidMw0LqZeCMA&zoneid=3D1&displaytext=3DdefaultBaremetalNetwork&networkoffe= ringid=3D84c3e203-139e-4412-ab81-8a6abecb3e35&response=3Djson&name=3Ddefaul= tBaremetalNetwork&command=3DcreateNetwork&signature=3DalemHuTsxw31sTOaAyaZn= 2Cw4N8%3D HTTP/1.1" 431 165 > test_baremetal (integration.component.test_baremetal.TestBaremetal): ERRO= R: Exception:['Traceback (most recent call last):\n', ' File "/local/jenki= ns/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packag= es/marvin/cloudstackConnection.py", line 308, in __parseAndGetResponse\n = response_cls)\n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/wor= k.64/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 150,= in getResultObj\n raise cloudstackException.CloudstackAPIException(resp= name, errMsg)\n', "CloudstackAPIException: Execute cmd: createnetwork faile= d, due to: errorCode: 431, errorText:Can't have more than one Guest network= in zone with network type Basic\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 308, in __pa= rseAndGetResponse > response_cls) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/jsonHelper.py", line 150, in getResultObj > raise cloudstackException.CloudstackAPIException(respname, errMsg) > CloudstackAPIException: Execute cmd: createnetwork failed, due to: errorC= ode: 431, errorText:Can't have more than one Guest network in zone with net= work type Basic > test_baremetal (integration.component.test_baremetal.TestBaremetal): ERRO= R: marvinRequest : CmdName: Exception: ['Traceback (most recent call last):\= n', ' File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/= lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 375, in m= arvinRequest\n raise self.__lastError\n', "CloudstackAPIException: Execu= te cmd: createnetwork failed, due to: errorCode: 431, errorText:Can't have = more than one Guest network in zone with network type Basic\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 > CloudstackAPIException: Execute cmd: createnetwork failed, due to: errorC= ode: 431, errorText:Can't have more than one Guest network in zone with net= work type Basic > test_baremetal (integration.component.test_baremetal.TestBaremetal): CRIT= ICAL: EXCEPTION: test_baremetal: ['Traceback (most recent call last):\n', '= File "/usr/lib/python2.7/unittest/case.py", line 332, in run\n testMet= hod()\n', ' File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.gi= t/test/integration/component/test_baremetal.py", line 110, in test_baremeta= l\n network =3D Network.create(self.apiclient, self.services["network"],= zoneid=3Dself.zoneid, networkofferingid=3Dnetworkoffering.id)\n', ' File = "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.= 7/site-packages/marvin/lib/base.py", line 2591, in create\n return Netwo= rk(apiclient.createNetwork(cmd).__dict__)\n', ' File "/local/jenkins/works= pace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvi= n/cloudstackAPI/cloudstackAPIClient.py", line 1854, in createNetwork\n r= esponse =3D self.connection.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 marvinRequest\n raise e\n', "CloudstackAPIException: E= xecute cmd: createnetwork failed, due to: errorCode: 431, errorText:Can't h= ave more than one Guest network in zone with network type Basic\n"] > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/lib/python2.7/unittest/case.py", line 332, in run > testMethod() > File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.git/test/in= tegration/component/test_baremetal.py", line 110, in test_baremetal > network =3D Network.create(self.apiclient, self.services["network"], = zoneid=3Dself.zoneid, networkofferingid=3Dnetworkoffering.id) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/lib/base.py", line 2591, in create > return Network(apiclient.createNetwork(cmd).__dict__) > File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib= /python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line= 1854, in createNetwork > 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 > 'Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:Can= \'t have more than one Guest network in zone with network type Basic\n-----= --------------- >> begin captured stdout << ---------------------\n=3D=3D= =3D TestName: test_baremetal | Status : EXCEPTION =3D=3D=3D\n\n\n----------= ----------- >> end captured stdout <<=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)