You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2015/11/21 17:50:57 UTC

Jenkins build became unstable: Stratos-41x-Commit-Build #168

See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes>


Jenkins build is back to stable : Stratos-41x-Commit-Build #169

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Stratos-41x-Commit-Build/169/changes>


Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

Posted by Gayan Gunarathne <ga...@wso2.com>.
On Sat, Nov 21, 2015 at 11:05 PM, Akila Ravihansa Perera <ravihansa@wso2.com
> wrote:

> Nice catch Raj!
>
> We might have to check whether this flawed logic is used in other test
> cases.
>
> On Sat, Nov 21, 2015 at 11:02 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> I have fixed this now with dfb878c9f9272cd549de145482906b3c9cba9d80.
>>
>
Great! Thanks Raj.

>
>> So this particular bug has not been revealed until now :). May be
>> application force-undeployment has not been triggered for this particular
>> test-case.
>>
>
>> Thanks,
>> Raj.
>>
>> On Sat, Nov 21, 2015 at 10:55 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com
>> > wrote:
>>
>>> This is a bug in the test case :).
>>>
>>> "assertEquals" should be changed to "assertTrue".
>>>
>>> Refer [1].
>>>
>>> [1]
>>> https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/application/ApplicationBurstingTestCase.java#L167-L168
>>>
>>> On Sat, Nov 21, 2015 at 10:30 PM, Gayan Gunarathne <ga...@wso2.com>
>>> wrote:
>>>
>>>> Seems our integration test are getting failed. Will check with the
>>>> local build.
>>>>
>>>> testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase)  Time elapsed: 530.134 sec  <<< FAILURE!
>>>> java.lang.AssertionError: expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>> 	at org.testng.Assert.assertEquals(Assert.java:160)
>>>> 	at org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167)
>>>>
>>>>
>>>> Results :
>>>>
>>>> Failed tests:
>>>>   ApplicationBurstingTestCase.testApplicationBusting:167 expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server <
>>>> jenkins@builds.apache.org> wrote:
>>>>
>>>>> See <
>>>>> https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Gayan Gunarathne
>>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>>> Committer & PMC Member, Apache Stratos
>>>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Nice catch Raj!

We might have to check whether this flawed logic is used in other test
cases.

On Sat, Nov 21, 2015 at 11:02 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> I have fixed this now with dfb878c9f9272cd549de145482906b3c9cba9d80.
>
> So this particular bug has not been revealed until now :). May be
> application force-undeployment has not been triggered for this particular
> test-case.
>
> Thanks,
> Raj.
>
> On Sat, Nov 21, 2015 at 10:55 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> This is a bug in the test case :).
>>
>> "assertEquals" should be changed to "assertTrue".
>>
>> Refer [1].
>>
>> [1]
>> https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/application/ApplicationBurstingTestCase.java#L167-L168
>>
>> On Sat, Nov 21, 2015 at 10:30 PM, Gayan Gunarathne <ga...@wso2.com>
>> wrote:
>>
>>> Seems our integration test are getting failed. Will check with the local
>>> build.
>>>
>>> testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase)  Time elapsed: 530.134 sec  <<< FAILURE!
>>> java.lang.AssertionError: expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>>> 	at org.testng.Assert.fail(Assert.java:89)
>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>> 	at org.testng.Assert.assertEquals(Assert.java:160)
>>> 	at org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167)
>>>
>>>
>>> Results :
>>>
>>> Failed tests:
>>>   ApplicationBurstingTestCase.testApplicationBusting:167 expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>>>
>>>
>>>
>>>
>>> On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server <
>>> jenkins@builds.apache.org> wrote:
>>>
>>>> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes
>>>> >
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Gayan Gunarathne
>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>> Committer & PMC Member, Apache Stratos
>>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
I have fixed this now with dfb878c9f9272cd549de145482906b3c9cba9d80.

So this particular bug has not been revealed until now :). May be
application force-undeployment has not been triggered for this particular
test-case.

Thanks,
Raj.

On Sat, Nov 21, 2015 at 10:55 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> This is a bug in the test case :).
>
> "assertEquals" should be changed to "assertTrue".
>
> Refer [1].
>
> [1]
> https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/application/ApplicationBurstingTestCase.java#L167-L168
>
> On Sat, Nov 21, 2015 at 10:30 PM, Gayan Gunarathne <ga...@wso2.com>
> wrote:
>
>> Seems our integration test are getting failed. Will check with the local
>> build.
>>
>> testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase)  Time elapsed: 530.134 sec  <<< FAILURE!
>> java.lang.AssertionError: expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>> 	at org.testng.Assert.fail(Assert.java:89)
>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>> 	at org.testng.Assert.assertEquals(Assert.java:160)
>> 	at org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167)
>>
>>
>> Results :
>>
>> Failed tests:
>>   ApplicationBurstingTestCase.testApplicationBusting:167 expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>>
>>
>>
>>
>> On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>>
>>> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes>
>>>
>>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>
>>
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
This is a bug in the test case :).

"assertEquals" should be changed to "assertTrue".

Refer [1].

[1]
https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/application/ApplicationBurstingTestCase.java#L167-L168

On Sat, Nov 21, 2015 at 10:30 PM, Gayan Gunarathne <ga...@wso2.com> wrote:

> Seems our integration test are getting failed. Will check with the local
> build.
>
> testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase)  Time elapsed: 530.134 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:160)
> 	at org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167)
>
>
> Results :
>
> Failed tests:
>   ApplicationBurstingTestCase.testApplicationBusting:167 expected:<true> but was:<Forceful undeployment failed for the application application-bursting-test>
>
>
>
>
> On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
>
>> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes>
>>
>>
>
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>
>
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Jenkins build became unstable: Stratos-41x-Commit-Build #168

Posted by Gayan Gunarathne <ga...@wso2.com>.
Seems our integration test are getting failed. Will check with the local
build.

testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase)
 Time elapsed: 530.134 sec  <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<Forceful
undeployment failed for the application application-bursting-test>
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertEquals(Assert.java:118)
	at org.testng.Assert.assertEquals(Assert.java:160)
	at org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167)


Results :

Failed tests:
  ApplicationBurstingTestCase.testApplicationBusting:167
expected:<true> but was:<Forceful undeployment failed for the
application application-bursting-test>




On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes>
>
>


-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>