[ https://issues.apache.org/jira/browse/CLOUDSTACK-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856161#comment-13856161 ]
ASF subversion and git services commented on CLOUDSTACK-5497: ------------------------------------------------------------- Commit 43806aafe13b0f0049afb69df137239f8d055223 in branch refs/heads/4.3 from [~gpshilamkar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=43806aa ] CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range > [Automation] Test case test_guest_vlan_range.TestDedicateGuestVlanRange > failing as part nightly num > --------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-5497 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5497 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.3.0 > Environment: KVM > automation > Reporter: Rayees Namathponnan > Fix For: 4.3.0 > > > job 341 (BVT_Advanced_KVM_602_Multi) > Test cases failing inconsistently with below error > Execute cmd: dedicateguestvlanrange failed, due to: errorCode: 431, > errorText:Guest vlan from this range 2119 is allocated to a different > account. Can only dedicate a range which has no allocated vlans or has vlans > allocated to the same account > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.49.195 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?physicalnetworkid=32ce5fd0-77ab-4003-80c9-2b54e75a3a98&account=test-TestDedicateGuestVlanRange-29N169&domainid=eca3c690-6415-11e3-a447-1a6f7bb0d0a8&signature=fpEAvtUD5JafCaGpQ5COSGkSXWM%3D&apiKey=LepyvCSNC55jvLUEoHU3GP9oI4QiTvgt9dsCdALVIf3NxlNBq7dmcHdCb_6NenlyV3QwRmEn5DnGp__U-5UwXA&command=dedicateGuestVlanRange&vlanrange=2118-2120&response=json > HTTP/1.1" 431 271 > test_dedicateGuestVlanRange > (integration.smoke.test_guest_vlan_range.TestDedicateGuestVlanRange): DEBUG: > Request: > http://10.223.49.195:8080/client/api?physicalnetworkid=32ce5fd0-77ab-4003-80c9-2b54e75a3a98&account=test-TestDedicateGuestVlanRange-29N169&domainid=eca3c690-6415-11e3-a447-1a6f7bb0d0a8&signature=fpEAvtUD5JafCaGpQ5COSGkSXWM%3D&apiKey=LepyvCSNC55jvLUEoHU3GP9oI4QiTvgt9dsCdALVIf3NxlNBq7dmcHdCb_6NenlyV3QwRmEn5DnGp__U-5UwXA&command=dedicateGuestVlanRange&vlanrange=2118-2120&response=json > Response: { "dedicateguestvlanrangeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Guest vlan > from this range 2119 is allocated to a different account. Can only dedicate a > range which has no allocated vlans or has vlans allocated to the same account > "} } > test_dedicateGuestVlanRange > (integration.smoke.test_guest_vlan_range.TestDedicateGuestVlanRange): > CRITICAL: EXCEPTION: test_dedicateGuestVlanRange: Traceback (most recent call > last): > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File > "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_guest_vlan_range.py", > line 147, in test_dedicateGuestVlanRange > domainid=self.account.domainid > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 2540, in dedicate > return PhysicalNetwork(apiclient.dedicateGuestVlanRange(cmd).__dict__) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 942, in dedicateGuestVlanRange > response = self.connection.marvinRequest(command, response_type=response, > method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line > 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > cloudstackAPIException: Execute cmd: dedicateguestvlanrange failed, due to: > errorCode: 431, errorText:Guest vlan from this range 2119 is allocated to a > different account. Can only dedicate a range which has no allocated vlans or > has vlans allocated to the same account > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File > "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_guest_vlan_range.py", > line 147, in test_dedicateGuestVlanRange > domainid=self.account.domainid > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 2540, in dedicate > return PhysicalNetwork(apiclient.dedicateGuestVlanRange(cmd).__dict__) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 942, in dedicateGuestVlanRange > response = self.connection.marvinRequest(command, response_type=response, > method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line > 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > Execute cmd: dedicateguestvlanrange failed, due to: errorCode: 431, > errorText:Guest vlan from this range 2119 is allocated to a different > account. Can only dedicate a range which has no allocated vlans or has vlans > allocated to the same account > -------------------- >> begin captured logging << -------------------- > CSLog: DEBUG: sending GET request: listDomains {} > CSLog: DEBUG: Computed Signature by Marvin: Z9m9VPRcdcGlXrGfGFEr/OdTwCE= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.49.195 -- This message was sent by Atlassian JIRA (v6.1.5#6160)