stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Jenkins build became unstable: Stratos-Master-Nightly-Build » Apache Stratos - Integration Tests #592
Date Fri, 14 Aug 2015 06:25:27 GMT
Thanks Reka! May be we can switch HTTP without using HTTPS for integration
tests. WDYT?

On Fri, Aug 14, 2015 at 10:11 AM, Reka Thirunavukkarasu <reka@wso2.com>
wrote:

> Hi Imesh,
>
> Found below error log while executing the autoscaling policy test case. I
> will further look into this to find out the root cause.
>
> [2015-08-14 02:35:52,391] ERROR {org.apache.stratos.integration.tests.rest.RestClient}
-  Could not add autoscalingPolicy
> javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
> 	at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:557)
> 	at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050)
> 	at org.apache.stratos.integration.tests.rest.RestClient.doPost(RestClient.java:87)
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:159)
> 	at org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest.testAutoscalingPolicy(AutoscalingPolicyTest.java:44)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> [2015-08-14 02:35:52,391] ERROR {org.apache.stratos.integration.tests.rest.RestClient}
-  Could not add autoscalingPolicy
> javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
> 	at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:557)
> 	at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050)
> 	at org.apache.stratos.integration.tests.rest.RestClient.doPost(RestClient.java:87)
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:159)
> 	at org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest.testAutoscalingPolicy(AutoscalingPolicyTest.java:44)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> [2015-08-14 02:35:52,395] ERROR {org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest}
-  An error occurred while handling [autoscaling policy] autoscaling-policy-autoscaling-policy-test
> java.lang.RuntimeException: Could not add autoscalingPolicy
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:178)
> 	at org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest.testAutoscalingPolicy(AutoscalingPolicyTest.java:44)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
> 	at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:557)
> 	at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050)
> 	at org.apache.stratos.integration.tests.rest.RestClient.doPost(RestClient.java:87)
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:159)
> 	... 35 more
> [2015-08-14 02:35:52,395] ERROR {org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest}
-  An error occurred while handling [autoscaling policy] autoscaling-policy-autoscaling-policy-test
> java.lang.RuntimeException: Could not add autoscalingPolicy
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:178)
> 	at org.apache.stratos.integration.tests.policies.AutoscalingPolicyTest.testAutoscalingPolicy(AutoscalingPolicyTest.java:44)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> 	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> 	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> 	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> 	at org.testng.TestRunner.privateRun(TestRunner.java:757)
> 	at org.testng.TestRunner.run(TestRunner.java:608)
> 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> 	at org.testng.TestNG.run(TestNG.java:999)
> 	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> 	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> 	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
> 	at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397)
> 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437)
> 	at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:557)
> 	at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1138)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1076)
> 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1050)
> 	at org.apache.stratos.integration.tests.rest.RestClient.doPost(RestClient.java:87)
> 	at org.apache.stratos.integration.tests.rest.RestClient.addEntity(RestClient.java:159)
>
> Thanks,
> Reka
>
> On Fri, Aug 14, 2015 at 9:33 AM, Imesh Gunaratne <imesh@apache.org> wrote:
>
>> Do we still have the intermittent integration test issue?
>>
>> On Fri, Aug 14, 2015 at 8:19 AM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>>
>>> See <
>>> https://builds.apache.org/job/Stratos-Master-Nightly-Build/org.apache.stratos$stratos-integration/592/
>>> >
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message