synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiranya Jayathilaka <hiranya...@gmail.com>
Subject Re: Test Failure in Synapse Trunk Build
Date Fri, 12 Jul 2013 18:25:02 GMT
Perhaps some issue specific to your build environment? It builds fine for me, and Jenkins builder
haven't detected any issues either.

Thanks,
Hiranya

On Jul 12, 2013, at 11:18 AM, Thilini Gamage <tgtshanika@gmail.com> wrote:

> 
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.797 sec <<<
FAILURE!
> testSubscriptionMessageBuilderScenarioOne(org.apache.synapse.eventing.builders.MessageBuilderTest)
 Time elapsed: 0.007 sec  <<< FAILURE!
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNull(Assert.java:230)
> 	at junit.framework.Assert.assertNull(Assert.java:223)
> 	at org.apache.synapse.eventing.builders.MessageBuilderTest.testSubscriptionMessageBuilderScenarioOne(MessageBuilderTest.java:81)
> 
> 
> On Fri, Jul 12, 2013 at 11:40 PM, Rajika Kumarasiri <rajika.kumarasiri@gmail.com>
wrote:
> No, what I meant was what does the logs at /home/thilini/Development/GSOC/New/java/modules/core/target/surefire-reports
says as your build log shows. You need to look into those to see the actual failing exception.

> 
> Rajika
> 
> 
> On Fri, Jul 12, 2013 at 2:01 PM, Thilini Gamage <tgtshanika@gmail.com> wrote:
> Results :
> 
> Failed tests:   testSubscriptionMessageBuilderScenarioOne(org.apache.synapse.eventing.builders.MessageBuilderTest)
> 
> Tests run: 324, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Synapse .................................... SUCCESS [1.830s]
> [INFO] Apache Synapse - Secure Vault ..................... SUCCESS [7.489s]
> [INFO] Apache Synapse - Commons .......................... SUCCESS [10.424s]
> [INFO] Apache Synapse - Transports ....................... SUCCESS [1.128s]
> [INFO] Apache Synapse - Non-blocking HTTP/s Transport .... SUCCESS [23.095s]
> [INFO] Apache Synapse - PIPE Transport ................... SUCCESS [2.456s]
> [INFO] Apache Synapse - VFS Transport .................... SUCCESS [15.562s]
> [INFO] Apache Synapse - FIX Transport .................... SUCCESS [4.396s]
> [INFO] Apache Synapse - Tasks ............................ SUCCESS [1.599s]
> [INFO] Apache Synapse - Core ............................. FAILURE [2:59.817s]
> [INFO] Apache Synapse - Extensions ....................... SKIPPED
> [INFO] Apache Synapse - Samples .......................... SKIPPED
> [INFO] Apache Synapse - Patches .......................... SKIPPED
> [INFO] Apache Synapse - Experimental code ................ SKIPPED
> [INFO] Apache Synapse - Documentation .................... SKIPPED
> [INFO] Apache Synapse - Web Application .................. SKIPPED
> [INFO] Apache Synapse - Handler Module ................... SKIPPED
> [INFO] Apache Synapse - XAR Maven Plugin ................. SKIPPED
> [INFO] Apache Synapse - Configuration Migrator ........... SKIPPED
> [INFO] Apache Synapse - Distribution ..................... SKIPPED
> [INFO] Apache Synapse - Package skeleton ZIP ............. SKIPPED
> [INFO] Apache Synapse - Package archetype ................ SKIPPED
> [INFO] Apache Synapse - Integration ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4:13.007s
> [INFO] Finished at: Fri Jul 12 23:07:24 IST 2013
> [INFO] Final Memory: 93M/458M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test
(default-test) on project synapse-core: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /home/thilini/Development/GSOC/New/java/modules/core/target/surefire-reports
for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :synapse-core
> 
> 
> 
> On Fri, Jul 12, 2013 at 11:26 PM, Rajika Kumarasiri <rajika.kumarasiri@gmail.com>
wrote:
> What does the log says ? 
> 
> Rajika
> 
> 
> On Fri, Jul 12, 2013 at 1:50 PM, Thilini Gamage <tgtshanika@gmail.com> wrote:
> Hi all, 
> 
> I tried to build Synapse trunk with tests, but the build is failed. The following test
case is failing. Any help will be appreciated.
> 
> Results :
> 
> Failed tests:   testSubscriptionMessageBuilderScenarioOne(org.apache.synapse.eventing.builders.MessageBuilderTest)
> 
> Thanks
> 
> 
> -- 
> Thilini 
> Thilini Shanika Gamage
> Department of Computer Science and Engineering
> University of Moratuwa
> 
> 
> 
> 
> -- 
> Thilini 
> Thilini Shanika Gamage
> Department of Computer Science and Engineering
> University of Moratuwa
> 
> 
> 
> 
> -- 
> Thilini 
> Thilini Shanika Gamage
> Department of Computer Science and Engineering
> University of Moratuwa

--
Hiranya Jayathilaka
Mayhem Lab/RACE Lab;
Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
E-mail: hiranya@cs.ucsb.edu;  Mobile: +1 (805) 895-7443
Blog: http://techfeast-hiranya.blogspot.com


Mime
View raw message