You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Andreas Veithen <an...@gmail.com> on 2013/10/27 11:18:17 UTC

Re: Test Failure in Synapse Trunk Build

Just for the records: the issue is caused by some broken code, but
occurs only on Java 1.7. For more information, see:

http://markmail.org/message/5pqsmf55zds77wqn

Andreas

On Fri, Jul 12, 2013 at 8:25 PM, Hiranya Jayathilaka
<hi...@gmail.com> wrote:
> 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 <tg...@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
> <ra...@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 <tg...@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
>>> <ra...@gmail.com> wrote:
>>>>
>>>> What does the log says ?
>>>>
>>>> Rajika
>>>>
>>>>
>>>> On Fri, Jul 12, 2013 at 1:50 PM, Thilini Gamage <tg...@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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org