Build error

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error

Chalaka Chamupathi Sudusinghe
Hello,

i was trying to build the Activemq artemis project but

i had following error in the test ,
"
Running org.apache.activemq.ra.MDBTest
Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
elapsed: 1.022 sec  <<< FAILURE!
java.lang.AssertionError: Delivery policy delay not working
    at org.junit.Assert.fail(Assert.java:74)
    at org.junit.Assert.assertTrue(Assert.java:37)
    at org.junit.Assert.assertFalse(Assert.java:56)
    at org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)

testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
Time elapsed: 31.054 sec  <<< FAILURE!
java.lang.AssertionError: Got 5
    at org.junit.Assert.fail(Assert.java:74)
    at org.junit.Assert.assertTrue(Assert.java:37)
    at org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)

testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time elapsed:
11.012 sec  <<< FAILURE!
java.lang.AssertionError:
    at org.junit.Assert.fail(Assert.java:74)
    at org.junit.Assert.assertTrue(Assert.java:37)
    at org.junit.Assert.assertTrue(Assert.java:46)
    at org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)

Failed tests:
  MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay not working
  MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
  MDBTest.testXaTimeoutRedelivery:899 "

i google the error and unable to find solution, i am new to this and
please help me to fix the error.

--
Thanks and Regards,

Chalaka Chamupathi Sudusinghe

Undergraduate at University of Peradeniya Faculty of Engineering.

Email     : [hidden email]
Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
Blog       : https://chalakachamupathisudusinghe.blogspot.com
Github    : https://github.com/Chalakachamupathi
Reply | Threaded
Open this post in threaded view
|

Re: Build error

tabish121@gmail.com
On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
> Hello,
>
> i was trying to build the Activemq artemis project but

Are you building Artemis or ActiveMQ 5.x? This looks like a test from
the 5.x code

>
> i had following error in the test ,
> "
> Running org.apache.activemq.ra.MDBTest
> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
> elapsed: 1.022 sec  <<< FAILURE!
> java.lang.AssertionError: Delivery policy delay not working
>      at org.junit.Assert.fail(Assert.java:74)
>      at org.junit.Assert.assertTrue(Assert.java:37)
>      at org.junit.Assert.assertFalse(Assert.java:56)
>      at org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
>
> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
> Time elapsed: 31.054 sec  <<< FAILURE!
> java.lang.AssertionError: Got 5
>      at org.junit.Assert.fail(Assert.java:74)
>      at org.junit.Assert.assertTrue(Assert.java:37)
>      at org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
>
> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time elapsed:
> 11.012 sec  <<< FAILURE!
> java.lang.AssertionError:
>      at org.junit.Assert.fail(Assert.java:74)
>      at org.junit.Assert.assertTrue(Assert.java:37)
>      at org.junit.Assert.assertTrue(Assert.java:46)
>      at org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
>
> Failed tests:
>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay not working
>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
>    MDBTest.testXaTimeoutRedelivery:899 "
>
> i google the error and unable to find solution, i am new to this and
> please help me to fix the error.
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

Re: Build error

Chalaka Chamupathi Sudusinghe
Thanks for the replay,

activemq-artemis  and this is the link where i clone the project

https://github.com/apache/activemq-artemis.git

On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]> wrote:

> On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
>>
>> Hello,
>>
>> i was trying to build the Activemq artemis project but
>
>
> Are you building Artemis or ActiveMQ 5.x? This looks like a test from the
> 5.x code
>
>
>>
>> i had following error in the test ,
>> "
>> Running org.apache.activemq.ra.MDBTest
>> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
>> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
>> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
>> elapsed: 1.022 sec  <<< FAILURE!
>> java.lang.AssertionError: Delivery policy delay not working
>>      at org.junit.Assert.fail(Assert.java:74)
>>      at org.junit.Assert.assertTrue(Assert.java:37)
>>      at org.junit.Assert.assertFalse(Assert.java:56)
>>      at
>> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
>>
>> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
>> Time elapsed: 31.054 sec  <<< FAILURE!
>> java.lang.AssertionError: Got 5
>>      at org.junit.Assert.fail(Assert.java:74)
>>      at org.junit.Assert.assertTrue(Assert.java:37)
>>      at
>> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
>>
>> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time elapsed:
>> 11.012 sec  <<< FAILURE!
>> java.lang.AssertionError:
>>      at org.junit.Assert.fail(Assert.java:74)
>>      at org.junit.Assert.assertTrue(Assert.java:37)
>>      at org.junit.Assert.assertTrue(Assert.java:46)
>>      at
>> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
>>
>> Failed tests:
>>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay not
>> working
>>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
>>    MDBTest.testXaTimeoutRedelivery:899 "
>>
>> i google the error and unable to find solution, i am new to this and
>> please help me to fix the error.
>>
>
>
> --
> Tim Bish
> twitter: @tabish121
> blog: http://timbish.blogspot.com/
>



--
Thanks and Regards,

Chalaka Chamupathi Sudusinghe

Undergraduate at University of Peradeniya Faculty of Engineering.

Email     : [hidden email]
Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
Blog       : https://chalakachamupathisudusinghe.blogspot.com
Github    : https://github.com/Chalakachamupathi
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Martyn Taylor
Are you sure you are not building ActiveMQ 5.x?  As Tim already mentioned
that test is part of ActiveMQ 5.x RA not Artemis.

What are the steps you are using to build?

This is how to build a fresh clone:
1. git clone https://github.com/apache/activemq-artemis.git
2. cd activemq-artemis
3. mvn clean install -Prelease

Regards
Martyn


On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
[hidden email]> wrote:

> Thanks for the replay,
>
> activemq-artemis  and this is the link where i clone the project
>
> https://github.com/apache/activemq-artemis.git
>
> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]> wrote:
> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
> >>
> >> Hello,
> >>
> >> i was trying to build the Activemq artemis project but
> >
> >
> > Are you building Artemis or ActiveMQ 5.x? This looks like a test from the
> > 5.x code
> >
> >
> >>
> >> i had following error in the test ,
> >> "
> >> Running org.apache.activemq.ra.MDBTest
> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
> >> elapsed: 1.022 sec  <<< FAILURE!
> >> java.lang.AssertionError: Delivery policy delay not working
> >>      at org.junit.Assert.fail(Assert.java:74)
> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >>      at org.junit.Assert.assertFalse(Assert.java:56)
> >>      at
> >>
> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
> >>
> >> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
> >> Time elapsed: 31.054 sec  <<< FAILURE!
> >> java.lang.AssertionError: Got 5
> >>      at org.junit.Assert.fail(Assert.java:74)
> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >>      at
> >>
> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
> >>
> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time elapsed:
> >> 11.012 sec  <<< FAILURE!
> >> java.lang.AssertionError:
> >>      at org.junit.Assert.fail(Assert.java:74)
> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >>      at org.junit.Assert.assertTrue(Assert.java:46)
> >>      at
> >> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
> >>
> >> Failed tests:
> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay not
> >> working
> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
> >>    MDBTest.testXaTimeoutRedelivery:899 "
> >>
> >> i google the error and unable to find solution, i am new to this and
> >> please help me to fix the error.
> >>
> >
> >
> > --
> > Tim Bish
> > twitter: @tabish121
> > blog: http://timbish.blogspot.com/
> >
>
>
>
> --
> Thanks and Regards,
>
> Chalaka Chamupathi Sudusinghe
>
> Undergraduate at University of Peradeniya Faculty of Engineering.
>
> Email     : [hidden email]
> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> Github    : https://github.com/Chalakachamupathi
>
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Chalaka Chamupathi Sudusinghe
yes thats exact git repository where i clone the project ,
but for build i used "mvn package" command ,
i will try "mvn clean install -Prelease" as well.

On Wed, Jun 22, 2016 at 1:36 AM, Martyn Taylor <[hidden email]> wrote:

> Are you sure you are not building ActiveMQ 5.x?  As Tim already mentioned
> that test is part of ActiveMQ 5.x RA not Artemis.
>
> What are the steps you are using to build?
>
> This is how to build a fresh clone:
> 1. git clone https://github.com/apache/activemq-artemis.git
> 2. cd activemq-artemis
> 3. mvn clean install -Prelease
>
> Regards
> Martyn
>
>
> On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
> [hidden email]> wrote:
>
>> Thanks for the replay,
>>
>> activemq-artemis  and this is the link where i clone the project
>>
>> https://github.com/apache/activemq-artemis.git
>>
>> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]> wrote:
>> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
>> >>
>> >> Hello,
>> >>
>> >> i was trying to build the Activemq artemis project but
>> >
>> >
>> > Are you building Artemis or ActiveMQ 5.x? This looks like a test from the
>> > 5.x code
>> >
>> >
>> >>
>> >> i had following error in the test ,
>> >> "
>> >> Running org.apache.activemq.ra.MDBTest
>> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
>> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
>> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
>> >> elapsed: 1.022 sec  <<< FAILURE!
>> >> java.lang.AssertionError: Delivery policy delay not working
>> >>      at org.junit.Assert.fail(Assert.java:74)
>> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >>      at org.junit.Assert.assertFalse(Assert.java:56)
>> >>      at
>> >>
>> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
>> >>
>> >> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
>> >> Time elapsed: 31.054 sec  <<< FAILURE!
>> >> java.lang.AssertionError: Got 5
>> >>      at org.junit.Assert.fail(Assert.java:74)
>> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >>      at
>> >>
>> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
>> >>
>> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time elapsed:
>> >> 11.012 sec  <<< FAILURE!
>> >> java.lang.AssertionError:
>> >>      at org.junit.Assert.fail(Assert.java:74)
>> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >>      at org.junit.Assert.assertTrue(Assert.java:46)
>> >>      at
>> >> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
>> >>
>> >> Failed tests:
>> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay not
>> >> working
>> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
>> >>    MDBTest.testXaTimeoutRedelivery:899 "
>> >>
>> >> i google the error and unable to find solution, i am new to this and
>> >> please help me to fix the error.
>> >>
>> >
>> >
>> > --
>> > Tim Bish
>> > twitter: @tabish121
>> > blog: http://timbish.blogspot.com/
>> >
>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Chalaka Chamupathi Sudusinghe
>>
>> Undergraduate at University of Peradeniya Faculty of Engineering.
>>
>> Email     : [hidden email]
>> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> Github    : https://github.com/Chalakachamupathi
>>



--
Thanks and Regards,

Chalaka Chamupathi Sudusinghe

Undergraduate at University of Peradeniya Faculty of Engineering.

Email     : [hidden email]
Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
Blog       : https://chalakachamupathisudusinghe.blogspot.com
Github    : https://github.com/Chalakachamupathi
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Martyn Taylor
Hi,

I just built using mvn package with a clean maven repo and it seems to work
OK here.

The error you are seeing seems strange, I've not seen it before for
Artemis.  Could you send me the full output of the build.  I should be able
to diagnose from that.

Thanks
Martyn

On Wed, Jun 22, 2016 at 9:45 AM, Chalaka Chamupathi Sudusinghe <
[hidden email]> wrote:

> yes thats exact git repository where i clone the project ,
> but for build i used "mvn package" command ,
> i will try "mvn clean install -Prelease" as well.
>
> On Wed, Jun 22, 2016 at 1:36 AM, Martyn Taylor <[hidden email]> wrote:
> > Are you sure you are not building ActiveMQ 5.x?  As Tim already mentioned
> > that test is part of ActiveMQ 5.x RA not Artemis.
> >
> > What are the steps you are using to build?
> >
> > This is how to build a fresh clone:
> > 1. git clone https://github.com/apache/activemq-artemis.git
> > 2. cd activemq-artemis
> > 3. mvn clean install -Prelease
> >
> > Regards
> > Martyn
> >
> >
> > On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
> > [hidden email]> wrote:
> >
> >> Thanks for the replay,
> >>
> >> activemq-artemis  and this is the link where i clone the project
> >>
> >> https://github.com/apache/activemq-artemis.git
> >>
> >> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]>
> wrote:
> >> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
> >> >>
> >> >> Hello,
> >> >>
> >> >> i was trying to build the Activemq artemis project but
> >> >
> >> >
> >> > Are you building Artemis or ActiveMQ 5.x? This looks like a test from
> the
> >> > 5.x code
> >> >
> >> >
> >> >>
> >> >> i had following error in the test ,
> >> >> "
> >> >> Running org.apache.activemq.ra.MDBTest
> >> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
> >> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
> >> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
> >> >> elapsed: 1.022 sec  <<< FAILURE!
> >> >> java.lang.AssertionError: Delivery policy delay not working
> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >>      at org.junit.Assert.assertFalse(Assert.java:56)
> >> >>      at
> >> >>
> >>
> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
> >> >>
> >> >> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
> >> >> Time elapsed: 31.054 sec  <<< FAILURE!
> >> >> java.lang.AssertionError: Got 5
> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >>      at
> >> >>
> >>
> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
> >> >>
> >> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time
> elapsed:
> >> >> 11.012 sec  <<< FAILURE!
> >> >> java.lang.AssertionError:
> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >>      at org.junit.Assert.assertTrue(Assert.java:46)
> >> >>      at
> >> >>
> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
> >> >>
> >> >> Failed tests:
> >> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay
> not
> >> >> working
> >> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
> >> >>    MDBTest.testXaTimeoutRedelivery:899 "
> >> >>
> >> >> i google the error and unable to find solution, i am new to this and
> >> >> please help me to fix the error.
> >> >>
> >> >
> >> >
> >> > --
> >> > Tim Bish
> >> > twitter: @tabish121
> >> > blog: http://timbish.blogspot.com/
> >> >
> >>
> >>
> >>
> >> --
> >> Thanks and Regards,
> >>
> >> Chalaka Chamupathi Sudusinghe
> >>
> >> Undergraduate at University of Peradeniya Faculty of Engineering.
> >>
> >> Email     : [hidden email]
> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> >> Github    : https://github.com/Chalakachamupathi
> >>
>
>
>
> --
> Thanks and Regards,
>
> Chalaka Chamupathi Sudusinghe
>
> Undergraduate at University of Peradeniya Faculty of Engineering.
>
> Email     : [hidden email]
> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> Github    : https://github.com/Chalakachamupathi
>
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Chalaka Chamupathi Sudusinghe
HI,
I try the build from the beginning and now it works fine.

On Wed, Jun 22, 2016 at 3:57 PM, Martyn Taylor <[hidden email]> wrote:

> Hi,
>
> I just built using mvn package with a clean maven repo and it seems to work
> OK here.
>
> The error you are seeing seems strange, I've not seen it before for
> Artemis.  Could you send me the full output of the build.  I should be able
> to diagnose from that.
>
> Thanks
> Martyn
>
> On Wed, Jun 22, 2016 at 9:45 AM, Chalaka Chamupathi Sudusinghe <
> [hidden email]> wrote:
>
>> yes thats exact git repository where i clone the project ,
>> but for build i used "mvn package" command ,
>> i will try "mvn clean install -Prelease" as well.
>>
>> On Wed, Jun 22, 2016 at 1:36 AM, Martyn Taylor <[hidden email]> wrote:
>> > Are you sure you are not building ActiveMQ 5.x?  As Tim already mentioned
>> > that test is part of ActiveMQ 5.x RA not Artemis.
>> >
>> > What are the steps you are using to build?
>> >
>> > This is how to build a fresh clone:
>> > 1. git clone https://github.com/apache/activemq-artemis.git
>> > 2. cd activemq-artemis
>> > 3. mvn clean install -Prelease
>> >
>> > Regards
>> > Martyn
>> >
>> >
>> > On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
>> > [hidden email]> wrote:
>> >
>> >> Thanks for the replay,
>> >>
>> >> activemq-artemis  and this is the link where i clone the project
>> >>
>> >> https://github.com/apache/activemq-artemis.git
>> >>
>> >> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]>
>> wrote:
>> >> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> i was trying to build the Activemq artemis project but
>> >> >
>> >> >
>> >> > Are you building Artemis or ActiveMQ 5.x? This looks like a test from
>> the
>> >> > 5.x code
>> >> >
>> >> >
>> >> >>
>> >> >> i had following error in the test ,
>> >> >> "
>> >> >> Running org.apache.activemq.ra.MDBTest
>> >> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
>> >> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
>> >> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)  Time
>> >> >> elapsed: 1.022 sec  <<< FAILURE!
>> >> >> java.lang.AssertionError: Delivery policy delay not working
>> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >>      at org.junit.Assert.assertFalse(Assert.java:56)
>> >> >>      at
>> >> >>
>> >>
>> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
>> >> >>
>> >> >> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
>> >> >> Time elapsed: 31.054 sec  <<< FAILURE!
>> >> >> java.lang.AssertionError: Got 5
>> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >>      at
>> >> >>
>> >>
>> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
>> >> >>
>> >> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time
>> elapsed:
>> >> >> 11.012 sec  <<< FAILURE!
>> >> >> java.lang.AssertionError:
>> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >>      at org.junit.Assert.assertTrue(Assert.java:46)
>> >> >>      at
>> >> >>
>> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
>> >> >>
>> >> >> Failed tests:
>> >> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy delay
>> not
>> >> >> working
>> >> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
>> >> >>    MDBTest.testXaTimeoutRedelivery:899 "
>> >> >>
>> >> >> i google the error and unable to find solution, i am new to this and
>> >> >> please help me to fix the error.
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Tim Bish
>> >> > twitter: @tabish121
>> >> > blog: http://timbish.blogspot.com/
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Thanks and Regards,
>> >>
>> >> Chalaka Chamupathi Sudusinghe
>> >>
>> >> Undergraduate at University of Peradeniya Faculty of Engineering.
>> >>
>> >> Email     : [hidden email]
>> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> >> Github    : https://github.com/Chalakachamupathi
>> >>
>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Chalaka Chamupathi Sudusinghe
>>
>> Undergraduate at University of Peradeniya Faculty of Engineering.
>>
>> Email     : [hidden email]
>> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> Github    : https://github.com/Chalakachamupathi
>>



--
Thanks and Regards,

Chalaka Chamupathi Sudusinghe

Undergraduate at University of Peradeniya Faculty of Engineering.

Email     : [hidden email]
Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
Blog       : https://chalakachamupathisudusinghe.blogspot.com
Github    : https://github.com/Chalakachamupathi
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Martyn Taylor
Good to here.  Enjoy.

On Wed, Jun 22, 2016 at 7:13 PM, Chalaka Chamupathi Sudusinghe <
[hidden email]> wrote:

> HI,
> I try the build from the beginning and now it works fine.
>
> On Wed, Jun 22, 2016 at 3:57 PM, Martyn Taylor <[hidden email]> wrote:
> > Hi,
> >
> > I just built using mvn package with a clean maven repo and it seems to
> work
> > OK here.
> >
> > The error you are seeing seems strange, I've not seen it before for
> > Artemis.  Could you send me the full output of the build.  I should be
> able
> > to diagnose from that.
> >
> > Thanks
> > Martyn
> >
> > On Wed, Jun 22, 2016 at 9:45 AM, Chalaka Chamupathi Sudusinghe <
> > [hidden email]> wrote:
> >
> >> yes thats exact git repository where i clone the project ,
> >> but for build i used "mvn package" command ,
> >> i will try "mvn clean install -Prelease" as well.
> >>
> >> On Wed, Jun 22, 2016 at 1:36 AM, Martyn Taylor <[hidden email]>
> wrote:
> >> > Are you sure you are not building ActiveMQ 5.x?  As Tim already
> mentioned
> >> > that test is part of ActiveMQ 5.x RA not Artemis.
> >> >
> >> > What are the steps you are using to build?
> >> >
> >> > This is how to build a fresh clone:
> >> > 1. git clone https://github.com/apache/activemq-artemis.git
> >> > 2. cd activemq-artemis
> >> > 3. mvn clean install -Prelease
> >> >
> >> > Regards
> >> > Martyn
> >> >
> >> >
> >> > On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
> >> > [hidden email]> wrote:
> >> >
> >> >> Thanks for the replay,
> >> >>
> >> >> activemq-artemis  and this is the link where i clone the project
> >> >>
> >> >> https://github.com/apache/activemq-artemis.git
> >> >>
> >> >> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]>
> >> wrote:
> >> >> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
> >> >> >>
> >> >> >> Hello,
> >> >> >>
> >> >> >> i was trying to build the Activemq artemis project but
> >> >> >
> >> >> >
> >> >> > Are you building Artemis or ActiveMQ 5.x? This looks like a test
> from
> >> the
> >> >> > 5.x code
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> i had following error in the test ,
> >> >> >> "
> >> >> >> Running org.apache.activemq.ra.MDBTest
> >> >> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
> >> >> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
> >> >> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
> Time
> >> >> >> elapsed: 1.022 sec  <<< FAILURE!
> >> >> >> java.lang.AssertionError: Delivery policy delay not working
> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >> >>      at org.junit.Assert.assertFalse(Assert.java:56)
> >> >> >>      at
> >> >> >>
> >> >>
> >>
> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
> >> >> >>
> >> >> >>
> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
> >> >> >> Time elapsed: 31.054 sec  <<< FAILURE!
> >> >> >> java.lang.AssertionError: Got 5
> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >> >>      at
> >> >> >>
> >> >>
> >>
> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
> >> >> >>
> >> >> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time
> >> elapsed:
> >> >> >> 11.012 sec  <<< FAILURE!
> >> >> >> java.lang.AssertionError:
> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:46)
> >> >> >>      at
> >> >> >>
> >> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
> >> >> >>
> >> >> >> Failed tests:
> >> >> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy
> delay
> >> not
> >> >> >> working
> >> >> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
> >> >> >>    MDBTest.testXaTimeoutRedelivery:899 "
> >> >> >>
> >> >> >> i google the error and unable to find solution, i am new to this
> and
> >> >> >> please help me to fix the error.
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Tim Bish
> >> >> > twitter: @tabish121
> >> >> > blog: http://timbish.blogspot.com/
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Thanks and Regards,
> >> >>
> >> >> Chalaka Chamupathi Sudusinghe
> >> >>
> >> >> Undergraduate at University of Peradeniya Faculty of Engineering.
> >> >>
> >> >> Email     : [hidden email]
> >> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> >> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> >> >> Github    : https://github.com/Chalakachamupathi
> >> >>
> >>
> >>
> >>
> >> --
> >> Thanks and Regards,
> >>
> >> Chalaka Chamupathi Sudusinghe
> >>
> >> Undergraduate at University of Peradeniya Faculty of Engineering.
> >>
> >> Email     : [hidden email]
> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> >> Github    : https://github.com/Chalakachamupathi
> >>
>
>
>
> --
> Thanks and Regards,
>
> Chalaka Chamupathi Sudusinghe
>
> Undergraduate at University of Peradeniya Faculty of Engineering.
>
> Email     : [hidden email]
> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
> Blog       : https://chalakachamupathisudusinghe.blogspot.com
> Github    : https://github.com/Chalakachamupathi
>
Reply | Threaded
Open this post in threaded view
|

Re: Build error

Martyn Taylor
hear*

On Thu, Jun 23, 2016 at 10:01 AM, Martyn Taylor <[hidden email]> wrote:

> Good to here.  Enjoy.
>
> On Wed, Jun 22, 2016 at 7:13 PM, Chalaka Chamupathi Sudusinghe <
> [hidden email]> wrote:
>
>> HI,
>> I try the build from the beginning and now it works fine.
>>
>> On Wed, Jun 22, 2016 at 3:57 PM, Martyn Taylor <[hidden email]>
>> wrote:
>> > Hi,
>> >
>> > I just built using mvn package with a clean maven repo and it seems to
>> work
>> > OK here.
>> >
>> > The error you are seeing seems strange, I've not seen it before for
>> > Artemis.  Could you send me the full output of the build.  I should be
>> able
>> > to diagnose from that.
>> >
>> > Thanks
>> > Martyn
>> >
>> > On Wed, Jun 22, 2016 at 9:45 AM, Chalaka Chamupathi Sudusinghe <
>> > [hidden email]> wrote:
>> >
>> >> yes thats exact git repository where i clone the project ,
>> >> but for build i used "mvn package" command ,
>> >> i will try "mvn clean install -Prelease" as well.
>> >>
>> >> On Wed, Jun 22, 2016 at 1:36 AM, Martyn Taylor <[hidden email]>
>> wrote:
>> >> > Are you sure you are not building ActiveMQ 5.x?  As Tim already
>> mentioned
>> >> > that test is part of ActiveMQ 5.x RA not Artemis.
>> >> >
>> >> > What are the steps you are using to build?
>> >> >
>> >> > This is how to build a fresh clone:
>> >> > 1. git clone https://github.com/apache/activemq-artemis.git
>> >> > 2. cd activemq-artemis
>> >> > 3. mvn clean install -Prelease
>> >> >
>> >> > Regards
>> >> > Martyn
>> >> >
>> >> >
>> >> > On Tue, Jun 21, 2016 at 8:31 PM, Chalaka Chamupathi Sudusinghe <
>> >> > [hidden email]> wrote:
>> >> >
>> >> >> Thanks for the replay,
>> >> >>
>> >> >> activemq-artemis  and this is the link where i clone the project
>> >> >>
>> >> >> https://github.com/apache/activemq-artemis.git
>> >> >>
>> >> >> On Tue, Jun 21, 2016 at 3:26 PM, Timothy Bish <[hidden email]>
>> >> wrote:
>> >> >> > On 06/21/2016 03:23 PM, Chalaka Chamupathi Sudusinghe wrote:
>> >> >> >>
>> >> >> >> Hello,
>> >> >> >>
>> >> >> >> i was trying to build the Activemq artemis project but
>> >> >> >
>> >> >> >
>> >> >> > Are you building Artemis or ActiveMQ 5.x? This looks like a test
>> from
>> >> the
>> >> >> > 5.x code
>> >> >> >
>> >> >> >
>> >> >> >>
>> >> >> >> i had following error in the test ,
>> >> >> >> "
>> >> >> >> Running org.apache.activemq.ra.MDBTest
>> >> >> >> Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed:
>> >> >> >> 51.729 sec <<< FAILURE! - in org.apache.activemq.ra.MDBTest
>> >> >> >> testMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
>> Time
>> >> >> >> elapsed: 1.022 sec  <<< FAILURE!
>> >> >> >> java.lang.AssertionError: Delivery policy delay not working
>> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >> >>      at org.junit.Assert.assertFalse(Assert.java:56)
>> >> >> >>      at
>> >> >> >>
>> >> >>
>> >>
>> org.apache.activemq.ra.MDBTest.testMessageExceptionReDelivery(MDBTest.java:705)
>> >> >> >>
>> >> >> >>
>> testOrderOfMessageExceptionReDelivery(org.apache.activemq.ra.MDBTest)
>> >> >> >> Time elapsed: 31.054 sec  <<< FAILURE!
>> >> >> >> java.lang.AssertionError: Got 5
>> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >> >>      at
>> >> >> >>
>> >> >>
>> >>
>> org.apache.activemq.ra.MDBTest.testOrderOfMessageExceptionReDelivery(MDBTest.java:798)
>> >> >> >>
>> >> >> >> testXaTimeoutRedelivery(org.apache.activemq.ra.MDBTest)  Time
>> >> elapsed:
>> >> >> >> 11.012 sec  <<< FAILURE!
>> >> >> >> java.lang.AssertionError:
>> >> >> >>      at org.junit.Assert.fail(Assert.java:74)
>> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:37)
>> >> >> >>      at org.junit.Assert.assertTrue(Assert.java:46)
>> >> >> >>      at
>> >> >> >>
>> >>
>> org.apache.activemq.ra.MDBTest.testXaTimeoutRedelivery(MDBTest.java:899)
>> >> >> >>
>> >> >> >> Failed tests:
>> >> >> >>    MDBTest.testMessageExceptionReDelivery:705 Delivery policy
>> delay
>> >> not
>> >> >> >> working
>> >> >> >>    MDBTest.testOrderOfMessageExceptionReDelivery:798 Got 5
>> >> >> >>    MDBTest.testXaTimeoutRedelivery:899 "
>> >> >> >>
>> >> >> >> i google the error and unable to find solution, i am new to this
>> and
>> >> >> >> please help me to fix the error.
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Tim Bish
>> >> >> > twitter: @tabish121
>> >> >> > blog: http://timbish.blogspot.com/
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Thanks and Regards,
>> >> >>
>> >> >> Chalaka Chamupathi Sudusinghe
>> >> >>
>> >> >> Undergraduate at University of Peradeniya Faculty of Engineering.
>> >> >>
>> >> >> Email     : [hidden email]
>> >> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> >> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> >> >> Github    : https://github.com/Chalakachamupathi
>> >> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Thanks and Regards,
>> >>
>> >> Chalaka Chamupathi Sudusinghe
>> >>
>> >> Undergraduate at University of Peradeniya Faculty of Engineering.
>> >>
>> >> Email     : [hidden email]
>> >> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> >> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> >> Github    : https://github.com/Chalakachamupathi
>> >>
>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Chalaka Chamupathi Sudusinghe
>>
>> Undergraduate at University of Peradeniya Faculty of Engineering.
>>
>> Email     : [hidden email]
>> Linkedin : https://lk.linkedin.com/in/chalakachamupathisudusinghe
>> Blog       : https://chalakachamupathisudusinghe.blogspot.com
>> Github    : https://github.com/Chalakachamupathi
>>
>
>