BAM integration test failed and following is the trace. surefire-report attached.
[2011-07-11 05:50:08,614] INFO {org.wso2.carbon.bam.test.EditServerTest} - Editing already added server was successful Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.635 sec <<< FAILURE! Results : Failed tests: testTemplate(org.wso2.carbon.bam.test.EditServerTest) Tests run: 3, Failures: 1, Errors: 0, Skipped: 0 Shutting down server... Saving Code Coverage Details... Completed Saving Code Coverage Details. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /home/carbon320/carbon/products/bam/1.3.1/modules/integration/org.wso2.carbon.bam.monitoredserver.test/target/surefire-reports for the individual test results. On Mon, Jul 11, 2011 at 1:35 PM, Sadeep Jayasumana <sad...@wso2.com> wrote: > Hi, > > I took an svn up this morning and built everything. All ESB integration > tests are passing now. > > Thanks, > Sadeep > > > On Mon, Jul 11, 2011 at 1:11 PM, Waruna Ranasinghe <war...@wso2.com>wrote: > >> Fixed the integration test failure in BPS. >> >> >> Thanks, >> Waruna >> >> On Sun, Jul 10, 2011 at 1:05 PM, Supun Malinga <sup...@wso2.com> wrote: >> >>> Hi all, >>> >>> $subject has been there for sometime now. We need to fix these for the >>> release! >>> Currently integration tests fail in following products, >>> >>> GREG >>> BAM >>> ESB >>> BPS >>> >>> Builder mails contains further description of the failures. >>> >>> thanks n regards, >>> -- >>> Supun Malinga, >>> >>> Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> email - sup...@wso2.com <sup...@wso2.com> >>> mobile - 071 56 91 321 >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> ------------------------------------------------------------------------- >> Waruna Ranasinghe >> Senior Software Engineer, WSO2 >> >> Mobile: +94 724 318285 >> BLOG: http://warunapw.blogspot.com >> >> www.wso2.com - "Lean . Enterprise . Middleware" >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Sadeep Jayasumana > > Software Engineer > WSO2 Inc. > Email - sad...@wso2.com > Mobile - +94 77 22 66 507 > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Ranga Siriwardena Software Engineer WSO2 Inc. Blog: http://rangasiriwardena.blogspot.com/
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.635 sec <<< FAILURE! testTemplate(org.wso2.carbon.bam.test.EditServerTest) Time elapsed: 10.61 sec <<< FAILURE! junit.framework.AssertionFailedError: Service non existent in database.. at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.wso2.carbon.bam.integration.common.statistics.StatisticUtils.checkDataAgainstDB(StatisticUtils.java:169) at org.wso2.carbon.bam.test.EditServerTest.runSuccessCase(EditServerTest.java:96) at org.wso2.carbon.integration.core.TestTemplate.testTemplate(TestTemplate.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev