You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Gaurav Aradhye <ga...@clogeny.com> on 2013/07/31 14:13:10 UTC

Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/
-----------------------------------------------------------

Review request for cloudstack and Prasanna Santhanam.


Repository: cloudstack-git


Description
-------

Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594

Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".

Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
1. TestListAffinityGroups
2. TestUpdateVMAffinityGroups

One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.


Diffs
-----

  test/integration/component/test_affinity_groups.py 3ecab6f 
  tools/marvin/marvin/integration/lib/base.py b552aba 

Diff: https://reviews.apache.org/r/13109/diff/


Testing
-------


Thanks,

Gaurav Aradhye


Re: Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

Posted by Gaurav Aradhye <ga...@clogeny.com>.

> On Aug. 1, 2013, 8:26 a.m., Prasanna Santhanam wrote:
> > test/integration/component/test_affinity_groups.py, line 1444
> > <https://reviews.apache.org/r/13109/diff/1/?file=331285#file331285line1444>
> >
> >     use utils.randomgen()

Currently the function random_gen is in utils only. It's not defined separately in test case.
 


- Gaurav


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/#review24426
-----------------------------------------------------------


On July 31, 2013, 12:13 p.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13109/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 12:13 p.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594
> 
> Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".
> 
> Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
> 1. TestListAffinityGroups
> 2. TestUpdateVMAffinityGroups
> 
> One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_affinity_groups.py 3ecab6f 
>   tools/marvin/marvin/integration/lib/base.py b552aba 
> 
> Diff: https://reviews.apache.org/r/13109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>


Re: Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

Posted by Gaurav Aradhye <ga...@clogeny.com>.

> On Aug. 1, 2013, 8:26 a.m., Prasanna Santhanam wrote:
> > tools/marvin/marvin/integration/lib/base.py, line 574
> > <https://reviews.apache.org/r/13109/diff/1/?file=331286#file331286line574>
> >
> >     For every API in base, just use the prefix verb before the Cloud resource as the name of the method. 
> >     
> >     So createXxx, updateXxx, deleteXxx transforms into Xxx.create(), Xxx.update, Xxx.delete()
> >     
> >     IOW, rename update_affinity_group to just update()
> >     
> >

Hi,

update_affinity_group function is present in VirtualMachine class, not in Affnitygroup. Hence full name.
As discussed, will keep this as it is.
Will upload new diff for utis.randomgen() function use.


- Gaurav


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/#review24426
-----------------------------------------------------------


On July 31, 2013, 12:13 p.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13109/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 12:13 p.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594
> 
> Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".
> 
> Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
> 1. TestListAffinityGroups
> 2. TestUpdateVMAffinityGroups
> 
> One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_affinity_groups.py 3ecab6f 
>   tools/marvin/marvin/integration/lib/base.py b552aba 
> 
> Diff: https://reviews.apache.org/r/13109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>


Re: Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

Posted by Prasanna Santhanam <ts...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/#review24426
-----------------------------------------------------------



test/integration/component/test_affinity_groups.py
<https://reviews.apache.org/r/13109/#comment48348>

    use utils.randomgen()



tools/marvin/marvin/integration/lib/base.py
<https://reviews.apache.org/r/13109/#comment48347>

    For every API in base, just use the prefix verb before the Cloud resource as the name of the method. 
    
    So createXxx, updateXxx, deleteXxx transforms into Xxx.create(), Xxx.update, Xxx.delete()
    
    IOW, rename update_affinity_group to just update()
    
    


- Prasanna Santhanam


On July 31, 2013, 12:13 p.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13109/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 12:13 p.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594
> 
> Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".
> 
> Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
> 1. TestListAffinityGroups
> 2. TestUpdateVMAffinityGroups
> 
> One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_affinity_groups.py 3ecab6f 
>   tools/marvin/marvin/integration/lib/base.py b552aba 
> 
> Diff: https://reviews.apache.org/r/13109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>


Re: Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

Posted by Prasanna Santhanam <ts...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/#review24513
-----------------------------------------------------------

Ship it!


Ship It!

- Prasanna Santhanam


On July 31, 2013, 12:13 p.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13109/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 12:13 p.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594
> 
> Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".
> 
> Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
> 1. TestListAffinityGroups
> 2. TestUpdateVMAffinityGroups
> 
> One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_affinity_groups.py 3ecab6f 
>   tools/marvin/marvin/integration/lib/base.py b552aba 
> 
> Diff: https://reviews.apache.org/r/13109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>


Re: Review Request 13109: CLOUDSTACK-3594: Fixes related to affinity groups

Posted by "Jenkins Cloudstack.org" <hu...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13109/#review24346
-----------------------------------------------------------


Review 13109 failed the build test : FAILURE
The url of build cloudstack-master-with-patch #93 is : http://jenkins.cloudstack.org/job/cloudstack-master-with-patch/93/

- Jenkins Cloudstack.org


On July 31, 2013, 12:13 p.m., Gaurav Aradhye wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13109/
> -----------------------------------------------------------
> 
> (Updated July 31, 2013, 12:13 p.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed test case issues mentioned in issue https://issues.apache.org/jira/browse/CLOUDSTACK-3594
> 
> Radom-ized affinity group name to avoid cascading test case failures stating "unable to create affinity group due to affinity group with the same name exists".
> 
> Included following 2 test suites which were not run in last build because there was no decorator for the test cases.
> 1. TestListAffinityGroups
> 2. TestUpdateVMAffinityGroups
> 
> One test case in TestUpdateVMAffinityGroups is skipped, it's failing right now. Will be fixed shortly.
> 
> 
> Diffs
> -----
> 
>   test/integration/component/test_affinity_groups.py 3ecab6f 
>   tools/marvin/marvin/integration/lib/base.py b552aba 
> 
> Diff: https://reviews.apache.org/r/13109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>