You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@gmail.com> on 2019/08/13 05:20:43 UTC

Java 11 Maven Test profile and Buildbot builder

My memory on how to get this all working is not quite there, so this is both a "heads up" and a "help email.

The goal is simple: build under java 8 and test select things in java 11

First, we have a new Maven profile called `java11test` that for the moment only includes these modules:

 - examples
 - itests/microprofile-jwt-itests
 - arquillian/arquillian-tomee-tests
 - tck

It might be a bit aggressive putting the last two in, but they theoretically should work for us to be truly done with Java 11 runtime support.

Second, there is a Buildbot builder that first builds under Java 8, then does a `mvn test -Pjava11test` to run the above under Java 11.

 - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11

This one doesn't seem to trigger.  If anyone can remember how this worked and take a look, great.

The svn link where the builder definitions live is password protected.  I know our config has no secret details in it, so here's a public paste of it.  It is defined on line 341 and added to the builders at line 1091

 - https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/tomee.conf

 - https://gist.github.com/dblevins/0f7c707089a1a4287a5088f3b9166bda#file-tomee-conf-py-L341
 - https://gist.github.com/dblevins/0f7c707089a1a4287a5088f3b9166bda#file-tomee-conf-py-L1091


If we can get this working it should add some real shape to our Java 11 support efforts.


-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com


Re: Java 11 Maven Test profile and Buildbot builder

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Here is the current status

[INFO] TomEE :: Examples :: JPA with EclipseLink .......... FAILURE [
 1.762 s]
[INFO] TomEE :: Examples :: MBean Auto Registration ....... FAILURE [
 2.083 s]
[INFO] TomEE :: Examples :: Webservice Attachments ........ FAILURE [
 3.976 s]
[INFO] TomEE :: Web Examples :: EJB WebService with WS-Security FAILURE [
15.241 s]
[INFO] TomEE :: TCK :: CDI Embedded ....................... FAILURE [
 3.615 s]
[INFO] TomEE :: TCK :: CDI TomEE .......................... FAILURE [01:51
min]

The agent issue requires some additional work. I sent an email for more
feedback.


--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Thu, Aug 15, 2019 at 10:58 AM Jean-Louis Monteiro <
jlmonteiro@tomitribe.com> wrote:

> Hi,
>
> I think I got to update the buildbot job and get it to run with Java 11.
>
> I have pushed my API updates and published a 8.0-2-SNAPSHOT
> https://svn.apache.org/viewvc?view=revision&revision=1865214
>
> I have pushed some changes to TomEE
> I'll run a deploy to get a new snapshot and fire up a new Java 11 tests
> run.
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 13, 2019 at 7:23 AM David Blevins <da...@gmail.com>
> wrote:
>
>> > On Aug 12, 2019, at 10:20 PM, David Blevins <da...@gmail.com>
>> wrote:
>> >
>> > Second, there is a Buildbot builder that first builds under Java 8,
>> then does a `mvn test -Pjava11test` to run the above under Java 11.
>> >
>> > - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11
>> >
>> > This one doesn't seem to trigger.  If anyone can remember how this
>> worked and take a look, great.
>>
>> Of course the second I hit send I magically see the tiny "0 test" link
>> that is to the build:
>>
>>  - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11/builds/0
>>
>> Hard to spot without a build history.  Anyway, should hopefully get us
>> somewhere!
>>
>>
>>
>> -David
>>
>>

Re: Java 11 Maven Test profile and Buildbot builder

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Hi,

I think I got to update the buildbot job and get it to run with Java 11.

I have pushed my API updates and published a 8.0-2-SNAPSHOT
https://svn.apache.org/viewvc?view=revision&revision=1865214

I have pushed some changes to TomEE
I'll run a deploy to get a new snapshot and fire up a new Java 11 tests run.


--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 13, 2019 at 7:23 AM David Blevins <da...@gmail.com>
wrote:

> > On Aug 12, 2019, at 10:20 PM, David Blevins <da...@gmail.com>
> wrote:
> >
> > Second, there is a Buildbot builder that first builds under Java 8, then
> does a `mvn test -Pjava11test` to run the above under Java 11.
> >
> > - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11
> >
> > This one doesn't seem to trigger.  If anyone can remember how this
> worked and take a look, great.
>
> Of course the second I hit send I magically see the tiny "0 test" link
> that is to the build:
>
>  - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11/builds/0
>
> Hard to spot without a build history.  Anyway, should hopefully get us
> somewhere!
>
>
>
> -David
>
>

Re: Java 11 Maven Test profile and Buildbot builder

Posted by David Blevins <da...@gmail.com>.
> On Aug 12, 2019, at 10:20 PM, David Blevins <da...@gmail.com> wrote:
> 
> Second, there is a Buildbot builder that first builds under Java 8, then does a `mvn test -Pjava11test` to run the above under Java 11.
> 
> - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11
> 
> This one doesn't seem to trigger.  If anyone can remember how this worked and take a look, great.

Of course the second I hit send I magically see the tiny "0 test" link that is to the build:

 - https://ci.apache.org/builders/tomee-build-jvm8-test-jvm11/builds/0

Hard to spot without a build history.  Anyway, should hopefully get us somewhere!



-David