Hi Senaka, I think [2013-08-03 05:41:49,220] ERROR {org.wso2.carbon.automation.core. PlatformTestManager:69} - java.lang.OutOfMemoryError: Java heap space Is not an exception occurring because of the Framework. It is a log line which logs the exception thrown by the teasing executor.
Please refer the code line below /** * Invoked each time a test fails. * * @param result <code>ITestResult</code> containing information about the run test * @see org.testng.ITestResult#FAILURE */ public void onTestFailure(ITestResult result) { log.error("On Test failure.."); log.error(result.getThrowable()); log.info("--------------Tests Failed "+result.getTestClass().getName ()+"." +result.getMethod().getMethodName()+"--------"); } I think this is occurred by "No space left on device " exception [2013-08-03 05:42:00,390] INFO {org.wso2.carbon.automation.core. PlatformTestManager:46} - Running the test method --- org.wso2.carbon. registry.governance.api.test.ServiceVersioningTestCase.testVersioning ---- [2013-08-03 05:42:00,396] ERROR {org.wso2.carbon.registry.ws.client.registry .WSRegistryServiceClient:334} - Failed to perform put operation. java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:282) at org.wso2.carbon.registry.ws.client.registry.WSRegistryClientUtils. makeDataHandler(WSRegistryClientUtils.java:180) With the clarity of the situation I will try to execute a full test run and verify the reason. Thank You, Dharshana. On Sat, Aug 3, 2013 at 2:07 PM, Dharshana Warusavitharana < dharsha...@wso2.com> wrote: > Hi Senaka, > > Im Inspecting some " No space left on device :" Errors on the logs. Imalso > trying to reproduce whether there is > a OOM > > Thank You, > Dharshana > > > On Sat, Aug 3, 2013 at 12:38 PM, Kasun Gajasinghe <kas...@wso2.com> wrote: > >> Hi Senaka, >> >> Did you build platform with tests? How was the unit test status? The >> builder machine have never been built with tests for this release. >> >> Thanks, >> KasunG >> >> >> On Sat, Aug 3, 2013 at 11:59 AM, Dharshana Warusavitharana < >> dharsha...@wso2.com> wrote: >> >>> Thank You Senaka . Im Looking in to this. >>> >>> >>> >>> >>> On Sat, Aug 3, 2013 at 11:57 AM, Senaka Fernando <sen...@wso2.com>wrote: >>> >>>> Hi Dharshana, >>>> >>>> Please find the logs @ >>>> http://ec2-54-224-94-128.compute-1.amazonaws.com/02-08-2013/greg-tests-new-reports.zipand >>>> the console output @ >>>> http://ec2-54-224-94-128.compute-1.amazonaws.com/02-08-2013/greg-tests-new-console.out. >>>> Appreciate some urgent help in resolving this, since we need to make sure >>>> this is done ASAP in order to finalize the G-Reg (and most importantly the >>>> kernel) release. The reason being that some failures are due to UM changes >>>> (you'll see them being mentioned in the logs). >>>> >>>> Thanks, >>>> Senaka. >>>> >>>> >>>> On Sat, Aug 3, 2013 at 11:49 AM, Dharshana Warusavitharana < >>>> dharsha...@wso2.com> wrote: >>>> >>>>> Hi Senaka, >>>>> >>>>> Could You Attach the Surefire reports ,so it will be eazy for us to >>>>> isolate the issue. >>>>> >>>>> Thank You, >>>>> Dharshaha. >>>>> >>>>> >>>>> On Sat, Aug 3, 2013 at 11:42 AM, Senaka Fernando <sen...@wso2.com>wrote: >>>>> >>>>>> *Tests Module* >>>>>> >>>>>> Results : >>>>>> >>>>>> Failed tests: >>>>>> dataUploadTest(org.wso2.carbon.registry.sample.test.SampleDataPopulatorTestCase): >>>>>> Resource not found. expected:<true> but was:<false> >>>>>> >>>>>> lifecycleOperationTest(org.wso2.carbon.registry.sample.test.SampleDataPopulatorTestCase): >>>>>> Resource not found. expected:<true> but was:<false> >>>>>> >>>>>> init(org.wso2.carbon.registry.search.metadata.test.RegistrySearchByAssociationTypeTestCase): >>>>>> Error in adding the wsdl. wsdl id: f9d83c63-485c-4663-9699-e6a1e6cfd5d1. >>>>>> >>>>>> init(org.wso2.carbon.registry.search.metadata.test.RegistrySearchByUpdaterTestCase): >>>>>> Failed to perform put operation. >>>>>> >>>>>> testAddAxis2ServiceGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add Axis2ServiceGarFile: >>>>>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to >>>>>> perform put operation. >>>>>> >>>>>> testAddSchemaFromContent(org.wso2.carbon.registry.governance.api.test.SchemaClientTestCase): >>>>>> Error in adding the Schema. schema id: >>>>>> 0a51b0ee-4981-4c98-80c7-96183992ba39. >>>>>> >>>>>> testAddSimpleStockQuoteServiceGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add SimpleStockQuoteService >>>>>> GarFile:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddSchemaFromContentNoName(org.wso2.carbon.registry.governance.api.test.SchemaClientTestCase): >>>>>> Error in adding the Schema. schema id: >>>>>> 3c81439c-ea70-4d2f-9f1e-765a60c0249d. >>>>>> >>>>>> testInvalidSchemaContent(org.wso2.carbon.registry.governance.api.test.SchemaClientTestCase): >>>>>> Exception thrown while adding Invalid schema : Error in adding the >>>>>> Schema. >>>>>> schema id: ac81af13-3e8a-40af-bfee-27dec68257bc. >>>>>> >>>>>> testAddXSDAllGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add XSDAll >>>>>> Gar-File:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddHeterogeneousNamespaceGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add HeterogeneousNamespace >>>>>> Gar-File:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddPolicySecurePartnerService06(org.wso2.carbon.registry.governance.api.test.PolicyImportServiceTestCase): >>>>>> Failed to add Policy >>>>>> :org.wso2.carbon.governance.api.exception.GovernanceException: Error in >>>>>> adding the Policy. policy id: ee0c8c03-231c-4057-b89d-e0601934ae06. >>>>>> >>>>>> testAddArtistRegistryGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add ArtistRegistry >>>>>> Gar-File:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddOriginalWSDLGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add OriginalWSDL >>>>>> Gar-File:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddHomogeneousNamespaceGarFile(org.wso2.carbon.registry.ws.client.test.general.GarFileImportServiceTestCase): >>>>>> Failed to add HomogeneousNamespace >>>>>> Gar-File:org.wso2.carbon.registry.core.exceptions.RegistryException: >>>>>> Failed >>>>>> to perform put operation. >>>>>> >>>>>> testAddPolicySecurePartnerService11(org.wso2.carbon.registry.governance.api.test.PolicyImportServiceTestCase): >>>>>> Failed to add Policy >>>>>> :org.wso2.carbon.governance.api.exception.GovernanceException: Error in >>>>>> adding the Policy. policy id: 59a8932e-3fb4-4471-b6fc-f2d172a5fc14. >>>>>> >>>>>> Tests run: 782, Failures: 16, Errors: 0, Skipped: 44 >>>>>> >>>>>> [ERROR] There are test failures. >>>>>> >>>>>> Please refer to >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/target/surefire-reports >>>>>> for the individual test results. >>>>>> [INFO] >>>>>> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ >>>>>> registry-integration-test --- >>>>>> [WARNING] JAR will be empty - no content was marked for inclusion! >>>>>> [INFO] Building jar: >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/target/registry-integration-test-4.6.0-SNAPSHOT.jar >>>>>> [INFO] >>>>>> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ >>>>>> registry-integration-test --- >>>>>> [INFO] Building jar: >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/target/registry-integration-test-4.6.0-SNAPSHOT-tests.jar >>>>>> [INFO] >>>>>> [INFO] >>> maven-surefire-report-plugin:2.7.1:report-only (default) @ >>>>>> registry-integration-test >>> >>>>>> [INFO] >>>>>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ >>>>>> registry-integration-test --- >>>>>> [INFO] Incremental build test already done. Skipping... >>>>>> [INFO] >>>>>> [INFO] <<< maven-surefire-report-plugin:2.7.1:report-only (default) @ >>>>>> registry-integration-test <<< >>>>>> [INFO] >>>>>> [INFO] --- maven-surefire-report-plugin:2.7.1:report-only (default) @ >>>>>> registry-integration-test --- >>>>>> [INFO] >>>>>> [INFO] --- maven-antrun-plugin:1.1:run (moving report to reporting >>>>>> module) @ registry-integration-test --- >>>>>> [INFO] Executing tasks >>>>>> [copy] Copying 1 file to >>>>>> /build/trunk/platform/products/greg/modules/reporting/src/site/resources/report >>>>>> [INFO] Executed tasks >>>>>> [INFO] >>>>>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ >>>>>> registry-integration-test --- >>>>>> [INFO] Installing >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/target/registry-integration-test-4.6.0-SNAPSHOT.jar >>>>>> to >>>>>> /build/software/m2-repo-greg/org/wso2/governance/registry-integration-test/4.6.0-SNAPSHOT/registry-integration-test-4.6.0-SNAPSHOT.jar >>>>>> [INFO] Installing >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/pom.xml >>>>>> to >>>>>> /build/software/m2-repo-greg/org/wso2/governance/registry-integration-test/4.6.0-SNAPSHOT/registry-integration-test-4.6.0-SNAPSHOT.pom >>>>>> [INFO] Installing >>>>>> /build/trunk/platform/products/greg/modules/integration/registry/tests/target/registry-integration-test-4.6.0-SNAPSHOT-tests.jar >>>>>> to >>>>>> /build/software/m2-repo-greg/org/wso2/governance/registry-integration-test/4.6.0-SNAPSHOT/registry-integration-test-4.6.0-SNAPSHOT-tests.jar >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] BUILD SUCCESS >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] Total time: 29:53.961s >>>>>> [INFO] Finished at: Fri Aug 02 18:22:54 UTC 2013 >>>>>> [INFO] Final Memory: 73M/923M >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> *Tests New Module* >>>>>> * >>>>>> * >>>>>> Getting OOM errors even after allocating "-Xmx4096m >>>>>> -XX:MaxPermSize=1024m", which seems to be due to some serious memory leak >>>>>> from the PlatformTestManager of the automation core. >>>>>> >>>>>> Error seen: [2013-08-03 06:04:59,414] ERROR >>>>>> {org.wso2.carbon.automation.core.PlatformTestManager} - >>>>>> java.lang.OutOfMemoryError: Java heap space >>>>>> >>>>>> Due to this reason many tests fail and are skipped, given wrong >>>>>> results. Appreciate some help from the QAA team to fix this issue. >>>>>> >>>>>> Thanks, >>>>>> Senaka. >>>>>> >>>>>> -- >>>>>> * <http://us13.wso2con.com/> >>>>>> * >>>>>> * >>>>>> * >>>>>> *Senaka Fernando* >>>>>> Senior Technical Lead; WSO2 Inc.; http://wso2.com* >>>>>> Member; Apache Software Foundation; http://apache.org >>>>>> >>>>>> E-mail: senaka AT wso2.com >>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>>> >>>>>> *Lean . Enterprise . Middleware >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Dharshana Warusavitharana >>>>> Senior Software Engineer , Test Automation >>>>> WSO2 Inc. http://wso2.com >>>>> email : dharsha...@wso2.com <dharsha...@wso2.com> >>>>> cell : +94772202595 >>>>> blog : http://dharshanaw.blogspot.com >>>>> >>>>> lean . enterprise . middleware >>>>> >>>> >>>> >>>> >>>> -- >>>> * <http://us13.wso2con.com/> >>>> * >>>> * >>>> * >>>> *Senaka Fernando* >>>> Senior Technical Lead; WSO2 Inc.; http://wso2.com* >>>> Member; Apache Software Foundation; http://apache.org >>>> >>>> E-mail: senaka AT wso2.com >>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>> Linked-In: http://linkedin.com/in/senakafernando >>>> >>>> *Lean . Enterprise . Middleware >>>> >>> >>> >>> >>> -- >>> >>> Dharshana Warusavitharana >>> Senior Software Engineer , Test Automation >>> WSO2 Inc. http://wso2.com >>> email : dharsha...@wso2.com <dharsha...@wso2.com> >>> cell : +94772202595 >>> blog : http://dharshanaw.blogspot.com >>> >>> lean . enterprise . middleware >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Kasun Gajasinghe* >> Software Engineer; >> Development Technologies Team, WSO2 Inc.; http://wso2.com >> >> >> , >> *email: **kasung AT spamfree wso2.com >> >> >> ** cell: **+94 (77) 678-0813* >> *linked-in: *http://lk.linkedin.com/in/gajasinghe >> >> >> * >> * >> *blog: **http://kasunbg.org* <http://kasunbg.org> >> >> >> * >> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> >> >> >> * >> * >> > > > > -- > > Dharshana Warusavitharana > Senior Software Engineer , Test Automation > WSO2 Inc. http://wso2.com > email : dharsha...@wso2.com <dharsha...@wso2.com> > cell : +94772202595 > blog : http://dharshanaw.blogspot.com > > lean . enterprise . middleware > -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com <dharsha...@wso2.com> cell : +94772202595 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev