Though the following ConcurrentModificationException is not related to the
above test failure, instance startup is failing due to this. Will have a
look at it later.


[2015-12-02 00:52:51,718] ERROR
{org.apache.stratos.cloud.controller.services.impl.InstanceCreator} -
Could not start instance: [cartridge-type]
c1-application-metadata-service-test [cluster-id]
application-metadata-service-test-1.c1-1x0-metadata-service-test.c1-application-metadata-service-test.domain
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to
persist resource in registry: /cloud.controller/data
at
org.apache.stratos.cloud.controller.registry.RegistryManager.persist(RegistryManager.java:86)
at
org.apache.stratos.cloud.controller.context.CloudControllerContext.persist(CloudControllerContext.java:708)
at
org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:111)
at
org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:67)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList.writeObject(ArrayList.java:746)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at java.util.HashMap.writeObject(HashMap.java:1129)
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at
org.apache.stratos.cloud.controller.registry.RegistryManager.serializeToByteArray(RegistryManager.java:160)
at
org.apache.stratos.cloud.controller.registry.RegistryManager.persist(RegistryManager.java:70)
... 6 more


On Wed, Dec 2, 2015 at 11:12 AM, Rajkumar Rajaratnam <rajkum...@wso2.com>
wrote:

> Application didn't become active in Metadata service test case. Gayan
> triggered another build and it succeeded. However, I am will check on this
> intermittent failure.
>
>
> Tests run: 32, Failures: 1, Errors: 0, Skipped: 6, Time elapsed: 1,017.86
> sec <<< FAILURE! - in TestSuite
> deployApplications(org.apache.stratos.integration.tests.application.MetadataServiceTestCase)
> Time elapsed: 300.767 sec  <<< FAILURE!
> org.testng.internal.thread.ThreadExecutionException:
> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
> java.lang.AssertionError: Application status did not change to Active:
> [application-id] application-metadata-service-test-1 expected:<Active> but
> was:<Inactive>
>     at
> org.apache.stratos.integration.tests.application.MetadataServiceTestCase.deployApplications(MetadataServiceTestCase.java:154)
>
>
> On Wed, Dec 2, 2015 at 6:31 AM, Apache Jenkins Server <
> jenk...@builds.apache.org> wrote:
>
>> See <https://builds.apache.org/job/Stratos-41x-Nightly-Build/64/changes>
>>
>>
>
>
> --
> 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

Reply via email to