Build fails since AS2 component was added

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

Re: Build fails since AS2 component was added (camel-example-ceylon breaks build)

Babak Vahdat
Hi

I managed to fix the failing camel-ejb tests locally. Let’s wait for the next CI-build.

Babak

> On 10 May 2018, at 07:39, Onder SEZGIN <[hidden email]> wrote:
>
> Interestingly, it does not fail in IDE(intellij).
> It fails on mvn prompt as Tomohisa mentioned.
> after running mvn clean on the prompt and fire the test on IDE, it is ok.
> i did not dive into it yet.
> this is my initial observation.
>
> On Thu, May 10, 2018 at 1:16 AM, Tomohisa Igarashi <[hidden email]>
> wrote:
>
>> Yep, actually this fails for me. I noticed that I get this weird exception
>> when I run "mvn test -Dtest=GreaterTest"
>> -----------------------------
>> WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
>> @MessageDriven annotations. AnnotationFinder failed.
>> java.lang.RuntimeException
>>        at org.apache.xbean.asm5.MethodVisitor.visitParameter(Unknown
>> Source)
>>        at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
>>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
>>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
>>        at org.apache.xbean.finder.AnnotationFinder.readClassDef(
>> AnnotationFinder.java:1170)
>> ...
>> -----------------------------
>>
>> I found a SO thread saying OpenEJB 4.6 + JDK8 get similar symptom, but
>> we're using OpenEJB 4.7.5 and shouldn't be a problem...
>>
>> Thanks,
>> Tomo
>>
>> On Thu, 2018-05-10 at 00:09 +0200, Zoran Regvart wrote:
>>> On Wed, May 9, 2018 at 5:40 PM, Onder SEZGIN <[hidden email]> wrote:
>>>> I can help with some of them by tomorrow.
>>>
>>> Awesome, thank you. I think Tomohisa is also taking a look. Now only
>>> the camel-ejb tests are failing[1]. Its strange I can't reproduce this
>>> locally, other failures were pretty straightforward to fix, I can't
>>> wrap my head around this one,
>>>
>>> zoran
>>>
>>> [1] https://builds.apache.org/view/C/view/Apache%20Camel/
>> job/Camel/job/master/lastCompletedBuild/testReport/
>>

Reply | Threaded
Open this post in threaded view
|

Re: Build fails since AS2 component was added (camel-example-ceylon breaks build)

Onder SEZGIN
yes i managed to do it same locally.
the reason of the issue is still here.

https://www.mail-archive.com/search?l=users@...&q=subject:%22Re%5C%3A+Java+8+Type+Annotations+cause+error+%5C-+is+that+expected%5C%3F%22&o=newest&f=1

excluding shaded dependency from latest release of openejb and adding it
dependency list of component seems resolving it.
not sure if it is a good practice but maybe we can do it till xbean
upgraded in openejb.

On Thu, May 10, 2018 at 1:38 PM, Babak Vahdat <[hidden email]>
wrote:

> Hi
>
> I managed to fix the failing camel-ejb tests locally. Let’s wait for the
> next CI-build.
>
> Babak
>
> > On 10 May 2018, at 07:39, Onder SEZGIN <[hidden email]> wrote:
> >
> > Interestingly, it does not fail in IDE(intellij).
> > It fails on mvn prompt as Tomohisa mentioned.
> > after running mvn clean on the prompt and fire the test on IDE, it is ok.
> > i did not dive into it yet.
> > this is my initial observation.
> >
> > On Thu, May 10, 2018 at 1:16 AM, Tomohisa Igarashi <
> [hidden email]>
> > wrote:
> >
> >> Yep, actually this fails for me. I noticed that I get this weird
> exception
> >> when I run "mvn test -Dtest=GreaterTest"
> >> -----------------------------
> >> WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
> >> @MessageDriven annotations. AnnotationFinder failed.
> >> java.lang.RuntimeException
> >>        at org.apache.xbean.asm5.MethodVisitor.visitParameter(Unknown
> >> Source)
> >>        at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
> >>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> >>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> >>        at org.apache.xbean.finder.AnnotationFinder.readClassDef(
> >> AnnotationFinder.java:1170)
> >> ...
> >> -----------------------------
> >>
> >> I found a SO thread saying OpenEJB 4.6 + JDK8 get similar symptom, but
> >> we're using OpenEJB 4.7.5 and shouldn't be a problem...
> >>
> >> Thanks,
> >> Tomo
> >>
> >> On Thu, 2018-05-10 at 00:09 +0200, Zoran Regvart wrote:
> >>> On Wed, May 9, 2018 at 5:40 PM, Onder SEZGIN <[hidden email]>
> wrote:
> >>>> I can help with some of them by tomorrow.
> >>>
> >>> Awesome, thank you. I think Tomohisa is also taking a look. Now only
> >>> the camel-ejb tests are failing[1]. Its strange I can't reproduce this
> >>> locally, other failures were pretty straightforward to fix, I can't
> >>> wrap my head around this one,
> >>>
> >>> zoran
> >>>
> >>> [1] https://builds.apache.org/view/C/view/Apache%20Camel/
> >> job/Camel/job/master/lastCompletedBuild/testReport/
> >>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Build fails since AS2 component was added (camel-example-ceylon breaks build)

Tomohisa Igarashi
Good morning - whoa, it was supposed to be my breakfast ;-)

Anyway good catch guys!

Thanks,
Tomo


On Thu, 2018-05-10 at 14:15 +0300, Onder SEZGIN wrote:

> yes i managed to do it same locally.
> the reason of the issue is still here.
>
> https://www.mail-archive.com/search?l=users@...&q=subject:%22Re%5C%3A+Java+8+Type+Annotations+cause+error+%5C-+is+that+expected%5C%3F%22&o=newest&f=1
>
> excluding shaded dependency from latest release of openejb and adding it
> dependency list of component seems resolving it.
> not sure if it is a good practice but maybe we can do it till xbean
> upgraded in openejb.
>
> On Thu, May 10, 2018 at 1:38 PM, Babak Vahdat <[hidden email]>
> wrote:
>
> > Hi
> >
> > I managed to fix the failing camel-ejb tests locally. Let’s wait for the
> > next CI-build.
> >
> > Babak
> >
> > > On 10 May 2018, at 07:39, Onder SEZGIN <[hidden email]> wrote:
> > >
> > > Interestingly, it does not fail in IDE(intellij).
> > > It fails on mvn prompt as Tomohisa mentioned.
> > > after running mvn clean on the prompt and fire the test on IDE, it is ok.
> > > i did not dive into it yet.
> > > this is my initial observation.
> > >
> > > On Thu, May 10, 2018 at 1:16 AM, Tomohisa Igarashi <
> >
> > [hidden email]>
> > > wrote:
> > >
> > > > Yep, actually this fails for me. I noticed that I get this weird
> >
> > exception
> > > > when I run "mvn test -Dtest=GreaterTest"
> > > > -----------------------------
> > > > WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
> > > > @MessageDriven annotations. AnnotationFinder failed.
> > > > java.lang.RuntimeException
> > > >        at org.apache.xbean.asm5.MethodVisitor.visitParameter(Unknown
> > > > Source)
> > > >        at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
> > > >        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> > > >        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> > > >        at org.apache.xbean.finder.AnnotationFinder.readClassDef(
> > > > AnnotationFinder.java:1170)
> > > > ...
> > > > -----------------------------
> > > >
> > > > I found a SO thread saying OpenEJB 4.6 + JDK8 get similar symptom, but
> > > > we're using OpenEJB 4.7.5 and shouldn't be a problem...
> > > >
> > > > Thanks,
> > > > Tomo
> > > >
> > > > On Thu, 2018-05-10 at 00:09 +0200, Zoran Regvart wrote:
> > > > > On Wed, May 9, 2018 at 5:40 PM, Onder SEZGIN <[hidden email]>
> >
> > wrote:
> > > > > > I can help with some of them by tomorrow.
> > > > >
> > > > > Awesome, thank you. I think Tomohisa is also taking a look. Now only
> > > > > the camel-ejb tests are failing[1]. Its strange I can't reproduce this
> > > > > locally, other failures were pretty straightforward to fix, I can't
> > > > > wrap my head around this one,
> > > > >
> > > > > zoran
> > > > >
> > > > > [1] https://builds.apache.org/view/C/view/Apache%20Camel/
> > > >
> > > > job/Camel/job/master/lastCompletedBuild/testReport/
> > > >
> >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Build fails since AS2 component was added (camel-example-ceylon breaks build)

Zoran Regvart-2
Awesome work everyone, I see we got a successful build!

Thanks!

zoran

On Thu, May 10, 2018 at 2:57 PM, Tomohisa Igarashi
<[hidden email]> wrote:

> Good morning - whoa, it was supposed to be my breakfast ;-)
>
> Anyway good catch guys!
>
> Thanks,
> Tomo
>
>
> On Thu, 2018-05-10 at 14:15 +0300, Onder SEZGIN wrote:
>> yes i managed to do it same locally.
>> the reason of the issue is still here.
>>
>> https://www.mail-archive.com/search?l=users@...&q=subject:%22Re%5C%3A+Java+8+Type+Annotations+cause+error+%5C-+is+that+expected%5C%3F%22&o=newest&f=1
>>
>> excluding shaded dependency from latest release of openejb and adding it
>> dependency list of component seems resolving it.
>> not sure if it is a good practice but maybe we can do it till xbean
>> upgraded in openejb.
>>
>> On Thu, May 10, 2018 at 1:38 PM, Babak Vahdat <[hidden email]>
>> wrote:
>>
>> > Hi
>> >
>> > I managed to fix the failing camel-ejb tests locally. Let’s wait for the
>> > next CI-build.
>> >
>> > Babak
>> >
>> > > On 10 May 2018, at 07:39, Onder SEZGIN <[hidden email]> wrote:
>> > >
>> > > Interestingly, it does not fail in IDE(intellij).
>> > > It fails on mvn prompt as Tomohisa mentioned.
>> > > after running mvn clean on the prompt and fire the test on IDE, it is ok.
>> > > i did not dive into it yet.
>> > > this is my initial observation.
>> > >
>> > > On Thu, May 10, 2018 at 1:16 AM, Tomohisa Igarashi <
>> >
>> > [hidden email]>
>> > > wrote:
>> > >
>> > > > Yep, actually this fails for me. I noticed that I get this weird
>> >
>> > exception
>> > > > when I run "mvn test -Dtest=GreaterTest"
>> > > > -----------------------------
>> > > > WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
>> > > > @MessageDriven annotations. AnnotationFinder failed.
>> > > > java.lang.RuntimeException
>> > > >        at org.apache.xbean.asm5.MethodVisitor.visitParameter(Unknown
>> > > > Source)
>> > > >        at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
>> > > >        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
>> > > >        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
>> > > >        at org.apache.xbean.finder.AnnotationFinder.readClassDef(
>> > > > AnnotationFinder.java:1170)
>> > > > ...
>> > > > -----------------------------
>> > > >
>> > > > I found a SO thread saying OpenEJB 4.6 + JDK8 get similar symptom, but
>> > > > we're using OpenEJB 4.7.5 and shouldn't be a problem...
>> > > >
>> > > > Thanks,
>> > > > Tomo
>> > > >
>> > > > On Thu, 2018-05-10 at 00:09 +0200, Zoran Regvart wrote:
>> > > > > On Wed, May 9, 2018 at 5:40 PM, Onder SEZGIN <[hidden email]>
>> >
>> > wrote:
>> > > > > > I can help with some of them by tomorrow.
>> > > > >
>> > > > > Awesome, thank you. I think Tomohisa is also taking a look. Now only
>> > > > > the camel-ejb tests are failing[1]. Its strange I can't reproduce this
>> > > > > locally, other failures were pretty straightforward to fix, I can't
>> > > > > wrap my head around this one,
>> > > > >
>> > > > > zoran
>> > > > >
>> > > > > [1] https://builds.apache.org/view/C/view/Apache%20Camel/
>> > > >
>> > > > job/Camel/job/master/lastCompletedBuild/testReport/
>> > > >
>> >
>> >



--
Zoran Regvart
12