stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Perera <isu...@wso2.com>
Subject Re: Build failure
Date Thu, 03 Apr 2014 09:28:34 GMT
On Thu, Apr 3, 2014 at 2:12 PM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

> I've fixed it with a temporary fixes. I believe that these test cases
> doesn't make much sense, I'll get clarified them from jclouds community.
>
> Okay great. I see the change is to remove dynamically generated security
group, for eg: "jclouds#group". This is good as there are no rules for that
security group.

DId you discuss this change with jclouds? Any ref? I'm just asking as we
have to push these changes to jclouds eventually.

Thanks!

Sorry for the inconvenience.
>
>
> On Thu, Apr 3, 2014 at 1:22 PM, Nirmal Fernando <nirmal070125@gmail.com>wrote:
>
>> Ah... sorry .. guys ,.. seems I missed the test case in aws-ec2. I've
>> fixed ec2 test case, but didn't notice that there's a test case in aws-ec2
>> too.
>> Will fix this asap.
>>
>>
>> On Thu, Apr 3, 2014 at 12:20 PM, Lahiru Sandaruwan <lahirus@wso2.com>wrote:
>>
>>> I thought this is due to version update and recently added api is
>>> referring to different version. Seems it is not.
>>>
>>>
>>>
>>>
>>> On Wed, Apr 2, 2014 at 11:36 PM, Isuru Perera <isurup@wso2.com> wrote:
>>>
>>>> Nirmal,
>>>>
>>>> Any idea?
>>>>
>>>>
>>>> On Thu, Apr 3, 2014 at 11:58 AM, Dinesh Bandara <dineshb@wso2.com>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Getting following error in jclouds Amazon EC2 provider 1.7.1
>>>>>
>>>>> Tests run: 300, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
>>>>> 6.578 sec <<< FAILURE!
>>>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest)
>>>>> Time elapsed: 0.002 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: Sets differ: expected [jclouds#group] but
>>>>> got []
>>>>>     at org.testng.Assert.fail(Assert.java:94)
>>>>>     at org.testng.Assert.assertEquals(Assert.java:710)
>>>>>     at org.testng.Assert.assertEquals(Assert.java:688)
>>>>>     at
>>>>> org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:820)
>>>>>
>>>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest)
>>>>> Time elapsed: 0.002 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: Sets differ: expected [jclouds#group,
>>>>> group1, group2] but got [group1, group2]
>>>>>     at org.testng.Assert.fail(Assert.java:94)
>>>>>     at org.testng.Assert.assertEquals(Assert.java:710)
>>>>>     at org.testng.Assert.assertEquals(Assert.java:688)
>>>>>     at
>>>>> org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:784)
>>>>>
>>>>>
>>>>> Results :
>>>>>
>>>>> Failed tests:
>>>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest):
>>>>> Sets differ: expected [jclouds#group] but got []
>>>>>
>>>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest):
>>>>> Sets differ: expected [jclouds#group, group1, group2] but got [group1,
>>>>> group2]
>>>>>
>>>>> Tests run: 300, Failures: 2, Errors: 0, Skipped: 0
>>>>>
>>>>> Thanks
>>>>> --
>>>>> *Dinesh Bandara*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Perera
>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> about.me/chrishantha
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Mime
View raw message