cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosk Kelkar (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-7135) [Automation] Fix the script "test_baremetal.py" - Can't have more than one Guest network in zone with network type Basic
Date Tue, 22 Jul 2014 10:48:39 GMT

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

Ashutosk Kelkar reassigned CLOUDSTACK-7135:
-------------------------------------------

    Assignee: Ashutosk Kelkar

> [Automation] Fix the script "test_baremetal.py" - Can't have more than one Guest network
in zone with network type Basic
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7135
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7135
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Ashutosk Kelkar
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> ============
> Error Message:
> ============
> test_baremetal (integration.component.test_baremetal.TestBaremetal): DEBUG: ========Sending
GET Cmd : createNetwork=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.73
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Ra1mlXzCZU0K1l4MKDWdRbQDU67PCQuRnKYv3hyc-Q8hSvCSFjB32UtifLbS6oYpMeKaf0BCuUidMw0LqZeCMA&zoneid=1&displaytext=defaultBaremetalNetwork&networkofferingid=84c3e203-139e-4412-ab81-8a6abecb3e35&response=json&name=defaultBaremetalNetwork&command=createNetwork&signature=alemHuTsxw31sTOaAyaZn2Cw4N8%3D
HTTP/1.1" 431 165
> test_baremetal (integration.component.test_baremetal.TestBaremetal): ERROR: 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 308, in __parseAndGetResponse\n    response_cls)\n', '  File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/jsonHelper.py",
line 150, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname,
errMsg)\n', "CloudstackAPIException: Execute 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 308, in __parseAndGetResponse
>     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: errorCode: 431, errorText:Can't
have more than one Guest network in zone with network type Basic
> test_baremetal (integration.component.test_baremetal.TestBaremetal): ERROR: marvinRequest
: CmdName: <marvin.cloudstackAPI.createNetwork.createNetworkCmd object at 0x302ebd0>
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 marvinRequest\n    raise self.__lastError\n', "CloudstackAPIException: Execute
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 marvinRequest
>     raise self.__lastError
> CloudstackAPIException: Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:Can't
have more than one Guest network in zone with network type Basic
> test_baremetal (integration.component.test_baremetal.TestBaremetal): CRITICAL: EXCEPTION:
test_baremetal: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/unittest/case.py",
line 332, in run\n    testMethod()\n', '  File "/home/jenkins/workspace/xenrt-reg-basic-xs/cloudstack.git/test/integration/component/test_baremetal.py",
line 110, in test_baremetal\n    network = Network.create(self.apiclient, self.services["network"],
zoneid=self.zoneid, networkofferingid=networkoffering.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 Network(apiclient.createNetwork(cmd).__dict__)\n', '  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\n    response = self.connection.marvinRequest(command, response_type=response,
method=method)\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: Execute cmd: createnetwork
failed, due to: errorCode: 431, errorText:Can't have 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/integration/component/test_baremetal.py",
line 110, in test_baremetal
>     network = Network.create(self.apiclient, self.services["network"], zoneid=self.zoneid,
networkofferingid=networkoffering.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 = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/local/jenkins/workspace/xenrt-reg-basic-xs/work.64/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 380, in marvinRequest
>     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=== TestName: test_baremetal | Status : EXCEPTION
===\n\n\n--------------------- >> end captured stdout << 



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

Mime
View raw message