cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Girish Shilamkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5250) [Automation] integration.smoke.test_network.TestReleaseIP.test_releaseIP failing
Date Tue, 17 Dec 2013 05:46:07 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850130#comment-13850130
] 

Girish Shilamkar commented on CLOUDSTACK-5250:
----------------------------------------------

>From the API logs below, even after disassociateIpAddress API async job is successful.
Still we are able to list the disassociated IP. Clearly disassociateIpAddress API fails to
disassociate IP, therefore the testcase.

test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: sending GET request:
disassociateIpAddress {'id': u'99b2496f-91b1-4e73-87c9-de29d5bfdfca'}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Computed Signature by
Marvin: 62B6tzwyUTK2eCCzDcll2OZMVI0=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=62B6tzwyUTK2eCCzDcll2OZMVI0%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=disassociateIpAddress&id=99b2496f-91b1-4e73-87c9-de29d5bfdfca&response=json
HTTP/1.1" 200 86
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Request: http://10.223.49.197:8080/client/api?signature=62B6tzwyUTK2eCCzDcll2OZMVI0%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=disassociateIpAddress&id=99b2496f-91b1-4e73-87c9-de29d5bfdfca&response=json
Response: { "disassociateipaddressresponse" : {"jobid":"86b67bd4-4969-4c07-8ccb-735a1f1cb93b"}
}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: sending GET request:
queryAsyncJobResult {'jobid': u'86b67bd4-4969-4c07-8ccb-735a1f1cb93b'}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Computed Signature by
Marvin: KGYLTIBeQ3oHNsulm/UAsreJItM=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
HTTP/1.1" 200 432
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Request: http://10.223.49.197:8080/client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
Response: { "queryasyncjobresultresponse" : {"accountid":"f1d8dbb2-666a-11e3-9c62-52b2d980df8a","userid":"f1d94264-666a-11e3-9c62-52b2d980df8a","cmd":"org.apache.cloudstack.api.command.user.address.DisassociateIPAddrCmd","jobstatus":0,"jobprocstatus":0,"jobresultcode":0,"jobinstancetype":"IpAddress","jobinstanceid":"99b2496f-91b1-4e73-87c9-de29d5bfdfca","created":"2013-12-16T09:14:59-0800","jobid":"86b67bd4-4969-4c07-8ccb-735a1f1cb93b"}
}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: job: 86b67bd4-4969-4c07-8ccb-735a1f1cb93b
still processing,will timeout in 3600s
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: sending GET request:
queryAsyncJobResult {'jobid': u'86b67bd4-4969-4c07-8ccb-735a1f1cb93b'}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Computed Signature by
Marvin: KGYLTIBeQ3oHNsulm/UAsreJItM=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
HTTP/1.1" 200 432
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Request: http://10.223.49.197:8080/client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
Response: { "queryasyncjobresultresponse" : {"accountid":"f1d8dbb2-666a-11e3-9c62-52b2d980df8a","userid":"f1d94264-666a-11e3-9c62-52b2d980df8a","cmd":"org.apache.cloudstack.api.command.user.address.DisassociateIPAddrCmd","jobstatus":0,"jobprocstatus":0,"jobresultcode":0,"jobinstancetype":"IpAddress","jobinstanceid":"99b2496f-91b1-4e73-87c9-de29d5bfdfca","created":"2013-12-16T09:14:59-0800","jobid":"86b67bd4-4969-4c07-8ccb-735a1f1cb93b"}
}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: job: 86b67bd4-4969-4c07-8ccb-735a1f1cb93b
still processing,will timeout in 3595s
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: sending GET request:
queryAsyncJobResult {'jobid': u'86b67bd4-4969-4c07-8ccb-735a1f1cb93b'}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Computed Signature by
Marvin: KGYLTIBeQ3oHNsulm/UAsreJItM=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
HTTP/1.1" 200 401
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Request: http://10.223.49.197:8080/client/api?signature=KGYLTIBeQ3oHNsulm%2FUAsreJItM%3D&apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&command=queryAsyncJobResult&response=json&jobid=86b67bd4-4969-4c07-8ccb-735a1f1cb93b
Response: { "queryasyncjobresultresponse" : {"accountid":"f1d8dbb2-666a-11e3-9c62-52b2d980df8a","userid":"f1d94264-666a-11e3-9c62-52b2d980df8a","cmd":"org.apache.cloudstack.api.command.user.address.DisassociateIPAddrCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"success":true},"created":"2013-12-16T09:14:59-0800","jobid":"86b67bd4-4969-4c07-8ccb-735a1f1cb93b"}
}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: sending GET request:
listPublicIpAddresses {'id': u'99b2496f-91b1-4e73-87c9-de29d5bfdfca'}
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Computed Signature by
Marvin: XAkDeEFl1qqWXx3SMBsATQSpUmY=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&response=json&command=listPublicIpAddresses&signature=XAkDeEFl1qqWXx3SMBsATQSpUmY%3D&id=99b2496f-91b1-4e73-87c9-de29d5bfdfca
HTTP/1.1" 200 852
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=wakgCf730Zwxfk6yc-04nh09VWYfzPcheXCa4gsOozu3-Q58ZmB9b1WfTXSDKRZtfMYOb9BztpbqyFIA6LkH9Q&response=json&command=listPublicIpAddresses&signature=XAkDeEFl1qqWXx3SMBsATQSpUmY%3D&id=99b2496f-91b1-4e73-87c9-de29d5bfdfca
Response: { "listpublicipaddressesresponse" : { "count":1 ,"publicipaddress" : [  {"id":"99b2496f-91b1-4e73-87c9-de29d5bfdfca","ipaddress":"10.223.243.9","allocated":"2013-12-16T09:15:53-0800","zoneid":"d1780cec-2238-4f0a-989b-e6746e7a3b99","zonename":"Adv-VMware-Zone1","issourcenat":true,"account":"test-TestTemplates-test_01_create_template-XNBCEX","domainid":"9001ce94-666a-11e3-9c62-52b2d980df8a","domain":"ROOT","forvirtualnetwork":true,"vlanid":"ef75f747-bd59-40ed-9b6d-05e24e69a7c2","vlanname":"vlan://510","isstaticnat":false,"issystem":false,"associatednetworkid":"4f025f3c-97c7-4f32-9f85-9766b32fda08","associatednetworkname":"test-TestTemplates-test_01_create_template-XNBCEX-network","networkid":"813fc20c-3c42-4e6e-81dd-88f8a3f2e8ad","state":"Allocated","physicalnetworkid":"f94e885a-e113-4b17-9e91-5eb85dc8c601","tags":[],"isportable":false}
] } }
test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: List Public IP response[{networkid
: u'813fc20c-3c42-4e6e-81dd-88f8a3f2e8ad', physicalnetworkid : u'f94e885a-e113-4b17-9e91-5eb85dc8c601',
account : u'test-TestTemplates-test_01_create_template-XNBCEX', domainid : u'9001ce94-666a-11e3-9c62-52b2d980df8a',
issourcenat : True, isstaticnat : False, tags : [], associatednetworkname : u'test-TestTemplates-test_01_create_template-XNBCEX-network',
domain : u'ROOT', vlanid : u'ef75f747-bd59-40ed-9b6d-05e24e69a7c2', zoneid : u'd1780cec-2238-4f0a-989b-e6746e7a3b99',
vlanname : u'vlan://510', state : u'Allocated', associatednetworkid : u'4f025f3c-97c7-4f32-9f85-9766b32fda08',
zonename : u'Adv-VMware-Zone1', forvirtualnetwork : True, allocated : u'2013-12-16T09:15:53-0800',
issystem : False, ipaddress : u'10.223.243.9', id : u'99b2496f-91b1-4e73-87c9-de29d5bfdfca',
isportable : False}]
test_releaseIP (integration.smoke.test_network.TestReleaseIP): CRITICAL: FAILED: test_releaseIP:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/data/Repo2/qa/cloudstack/test/integration/smoke/test_network.py", line 859, in test_releaseIP
    "Check if disassociated IP Address is no longer available"
  File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: Check if disassociated IP Address is no longer available


> [Automation] integration.smoke.test_network.TestReleaseIP.test_releaseIP  failing 
> ----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5250
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5250
>             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
>            Assignee: Girish Shilamkar
>             Fix For: 4.3.0
>
>
> [Automation] integration.smoke.test_network.TestReleaseIP.test_releaseIP  failing after
fixing CLOUDSTACK-4344
> heck if disassociated IP Address is no longer available
> -------------------- >> begin captured logging << --------------------
> test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Deleting Public
IP : 2c0e1ad7-639b-4564-ba82-d44a41740c34
> test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: List Public IP
response[{networkid : u'04c5487a-5754-432f-81cd-d52738c1eb9c', physicalnetworkid : u'ddf995ff-4f12-4cae-9729-5b763a1e1170',
account : u'test-TestReleaseIP-test_releaseIP-RTK06M', domainid : u'5f0d3956-531c-11e3-a447-1a6f7bb0d0a8',
issourcenat : True, isstaticnat : False, tags : [], associatednetworkname : u'test-TestReleaseIP-test_releaseIP-RTK06M-network',
domain : u'ROOT', vlanid : u'7746889d-db42-41c2-90d1-1876847c2377', zoneid : u'9338ab1f-fee3-43dc-98cc-9aa2839b0d19',
vlanname : u'vlan://1221', state : u'Allocated', associatednetworkid : u'823a5c6c-53d4-4dc0-8672-a3daeb9ff6ff',
zonename : u'Adv-KVM-Zone1', forvirtualnetwork : True, allocated : u'2013-11-21T20:11:44-0800',
issystem : False, ipaddress : u'10.223.122.74', id : u'2c0e1ad7-639b-4564-ba82-d44a41740c34',
isportable : False}]
> --------------------- >> 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_network.py", line 859,
in test_releaseIP
>     "Check if disassociated IP Address is no longer available"
>   File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
>     assertion_func(first, second, msg=msg)
>   File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
>     raise self.failureException(msg)
> Check if disassociated IP Address is no longer available
> -------------------- >> begin captured logging << --------------------
> test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: Deleting Public
IP : 2c0e1ad7-639b-4564-ba82-d44a41740c34
> test_releaseIP (integration.smoke.test_network.TestReleaseIP): DEBUG: List Public IP
response[{networkid : u'04c5487a-5754-432f-81cd-d52738c1eb9c', physicalnetworkid : u'ddf995ff-4f12-4cae-9729-5b763a1e1170',
account : u'test-TestReleaseIP-test_releaseIP-RTK06M', domainid : u'5f0d3956-531c-11e3-a447-1a6f7bb0d0a8',
issourcenat : True, isstaticnat : False, tags : [], associatednetworkname : u'test-TestReleaseIP-test_releaseIP-RTK06M-network',
domain : u'ROOT', vlanid : u'7746889d-db42-41c2-90d1-1876847c2377', zoneid : u'9338ab1f-fee3-43dc-98cc-9aa2839b0d19',
vlanname : u'vlan://1221', state : u'Allocated', associatednetworkid : u'823a5c6c-53d4-4dc0-8672-a3daeb9ff6ff',
zonename : u'Adv-KVM-Zone1', forvirtualnetwork : True, allocated : u'2013-11-21T20:11:44-0800',
issystem : False, ipaddress : u'10.223.122.74', id : u'2c0e1ad7-639b-4564-ba82-d44a41740c34',
isportable : False}]
> --------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message