You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Bruno Baptista <br...@gmail.com> on 2018/12/10 20:58:45 UTC

Arquillian test cannot be run in parallel

Hi folks,

I've been researching why the full build is slow and I think I've come 
up with a solution...

Can someone please assign this jira to me? 
https://issues.apache.org/jira/browse/TOMEE-2176

If I can get assigning powers on jira would also be nice :)

Cheers.

-- 
Bruno Baptista
https://twitter.com/brunobat_



Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Thanks Jose!

This is a lengthy operation. One to leave it running while dinning.

To take you less time please do:

1. Full build without tests:

mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true 
-DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false 
clean install -T1C

2. Go to tck/microprofile-tck folder and run:

mvn --fail-at-end clean install -Pall-adapters 
-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true 
-Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false 
-DdisableXmlReport=true > build.log

That will not fail if errors happen and then you can share the log and 
we can search for errors.

Cheers.

Bruno Baptista
https://twitter.com/brunobat_


On 13/12/18 16:35, Jose Henrique Ventura wrote:
> Hi Bruno,
>
> I can give it a try on a Windows (facepalm) machine later on. =)
>
>
> Best Regards,
> José Henrique Ventura.
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, December 13, 2018 4:16 PM, Bruno Baptista <br...@gmail.com> wrote:
>
>> Hi All,
>>
>> I've updated almost all the microprofile tests to run in parallel with
>> 1C: https://github.com/apache/tomee/pull/268
>>
>> They seem to work ok on my machine.
>>
>> We were getting JVM crashes due to the way we were redirecting the
>> output of the remote processes. Now we use:
>>
>> final ProcessBuilder pb = new ProcessBuilder(args)
>> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
>> .directory(home.getAbsoluteFile());
>>
>> I wonder if this is ok...
>>
>> Any volunteers to run the tck tests on a Mac and Windows?
>>
>> I also tried to run the container tests in parallel, but they also fail,
>> sometimes:
>>
>> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
>> [INFO]
>> [INFO] OpenEJB :: Container ............................... SUCCESS [
>> 0.517 s]
>> [INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [
>> 0.576 s]
>> [INFO] OpenEJB :: Container :: API ........................ SUCCESS [
>> 0.140 s]
>> [INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [
>> 0.288 s]
>> [INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [
>> 12.271 s]
>> [INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [
>> 0.072 s]
>> [INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [
>> 9.044 s]
>> [INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [
>> 2.365 s]
>> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
>> [02:27 min]
>> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
>> [INFO]
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>>
>> ----------------------------
>>
>> [INFO] Total time:  02:52 min
>> [INFO] Finished at: 2018-12-13T12:56:16Z
>> [INFO]
>>
>> ------------------------------------------------------------------------------
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>> (default-test) on project openejb-core: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>> for the individual test results.
>> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
>> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>> [ERROR] ExecutionException The forked VM terminated without properly
>> saying goodbye. VM crash or System.exit called?
>>
>> ...
>>
>> In this example only 2 tests failed. Will be investigating what might be
>> the cause.
>>
>> Cheers.
>>
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>> On 11/12/18 10:06, Bruno Baptista wrote:
>>
>>> Hi folks,
>>> Yesterday me and Roberto we dived into the parallel execution of tests
>>> with Arquillian.
>>> Roberto had some experience with this and was aware of TOMEE-2176.
>>> I was able to perform some parallel builds in the TCK projects. The
>>> full build has issues in the container that need to be researched.
>>> Unfortunately, this work uncovered other deeper issues in the
>>> /RemoteServer/ class. The faster the computer, the slower the test run
>>> gets!!! There are collisions of some sort going on.
>>>
>>> 1.  We were writing STDOUT in the wrong forked JVM leading to
>>>      exceptions. This might be fixed by don't inheriting the output.
>>>      See PR.
>>>
>>> 2.  Now, sometimes the servers fail to start and be stopped I'm still
>>>      figuring that out why.
>>>
>>>
>>> Suggestions are welcome. Will be adding some additional debugging
>>> output and trying different things.
>>> PR: https://github.com/apache/tomee/pull/268
>>> Cheers
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>> On 10/12/18 23:05, Bruno Baptista wrote:
>>>
>>>> Thanks!
>>>> Bruno Baptista
>>>> https://twitter.com/brunobat_
>>>> On 10/12/18 22:51, Roberto Cortez wrote:
>>>>
>>>>> Done. Unfortunately, only committers can do it.
>>>>>
>>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista brunobat@gmail.com wrote:
>>>>>> Hi folks,
>>>>>> I've been researching why the full build is slow and I think I've
>>>>>> come up with a solution...
>>>>>> Can someone please assign this jira to me?
>>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>>>> If I can get assigning powers on jira would also be nice :)
>>>>>> Cheers.
>>>>>> --
>>>>>> Bruno Baptista
>>>>>> https://twitter.com/brunobat_
>


Re: Arquillian test cannot be run in parallel

Posted by Jose Henrique Ventura <jo...@protonmail.com.INVALID>.
Hi Bruno,

I can give it a try on a Windows (facepalm) machine later on. =)


Best Regards,
José Henrique Ventura.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 13, 2018 4:16 PM, Bruno Baptista <br...@gmail.com> wrote:

> Hi All,
>
> I've updated almost all the microprofile tests to run in parallel with
> 1C: https://github.com/apache/tomee/pull/268
>
> They seem to work ok on my machine.
>
> We were getting JVM crashes due to the way we were redirecting the
> output of the remote processes. Now we use:
>
> final ProcessBuilder pb = new ProcessBuilder(args)
> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
> .directory(home.getAbsoluteFile());
>
> I wonder if this is ok...
>
> Any volunteers to run the tck tests on a Mac and Windows?
>
> I also tried to run the container tests in parallel, but they also fail,
> sometimes:
>
> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
> [INFO]
> [INFO] OpenEJB :: Container ............................... SUCCESS [ 
> 0.517 s]
> [INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [ 
> 0.576 s]
> [INFO] OpenEJB :: Container :: API ........................ SUCCESS [ 
> 0.140 s]
> [INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [ 
> 0.288 s]
> [INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [
> 12.271 s]
> [INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [ 
> 0.072 s]
> [INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [ 
> 9.044 s]
> [INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [ 
> 2.365 s]
> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
> [02:27 min]
> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
> [INFO]
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
> [INFO]
>
> ----------------------------
>
> [INFO] Total time:  02:52 min
> [INFO] Finished at: 2018-12-13T12:56:16Z
> [INFO]
>
> ------------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
> (default-test) on project openejb-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
> for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> [ERROR] ExecutionException The forked VM terminated without properly
> saying goodbye. VM crash or System.exit called?
>
> ...
>
> In this example only 2 tests failed. Will be investigating what might be
> the cause.
>
> Cheers.
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
> On 11/12/18 10:06, Bruno Baptista wrote:
>
> > Hi folks,
> > Yesterday me and Roberto we dived into the parallel execution of tests
> > with Arquillian.
> > Roberto had some experience with this and was aware of TOMEE-2176.
> > I was able to perform some parallel builds in the TCK projects. The
> > full build has issues in the container that need to be researched.
> > Unfortunately, this work uncovered other deeper issues in the
> > /RemoteServer/ class. The faster the computer, the slower the test run
> > gets!!! There are collisions of some sort going on.
> >
> > 1.  We were writing STDOUT in the wrong forked JVM leading to
> >     exceptions. This might be fixed by don't inheriting the output.
> >     See PR.
> >
> > 2.  Now, sometimes the servers fail to start and be stopped I'm still
> >     figuring that out why.
> >
> >
> > Suggestions are welcome. Will be adding some additional debugging
> > output and trying different things.
> > PR: https://github.com/apache/tomee/pull/268
> > Cheers
> > Bruno Baptista
> > https://twitter.com/brunobat_
> > On 10/12/18 23:05, Bruno Baptista wrote:
> >
> > > Thanks!
> > > Bruno Baptista
> > > https://twitter.com/brunobat_
> > > On 10/12/18 22:51, Roberto Cortez wrote:
> > >
> > > > Done. Unfortunately, only committers can do it.
> > > >
> > > > > On 10 Dec 2018, at 20:58, Bruno Baptista brunobat@gmail.com wrote:
> > > > > Hi folks,
> > > > > I've been researching why the full build is slow and I think I've
> > > > > come up with a solution...
> > > > > Can someone please assign this jira to me?
> > > > > https://issues.apache.org/jira/browse/TOMEE-2176
> > > > > If I can get assigning powers on jira would also be nice :)
> > > > > Cheers.
> > > > > --
> > > > > Bruno Baptista
> > > > > https://twitter.com/brunobat_



Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Thanks José,

Seems that there is a problem while stopping the remote processes with 
this setup.

Will continue to research that.

Thanks very much for your help!

Bruno Baptista
https://twitter.com/brunobat_


On 14/12/18 09:21, Jose Henrique Ventura wrote:
> See my jps -v output. As I ran the tck twice passing a different param 
> to log maven output to a file, now I can see two process alive.
>
> C:\Users\mvs_z\development\repositories\tomee\tck>jps -v
>
> 6656 Jps -Dapplication.home=C:\Program Files\Java\jdk1.8.0_144 -Xms8m
>
> 16424 Bootstrap -XX:+HeapDumpOnOutOfMemoryError -Dtomee.httpPort=53982 
> -Xmx512m -XX:MaxPermSize=512m 
> -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false 
> -Dorg.apache.openejb.servlet.filters=org.apache.openejb.arquillian.common.ArquillianFilterRunner=/ArquillianServletRunner 
> -Dopenejb.system.apps=true -Dtomee.remote.support=true 
> -Djava.util.logging.config.file=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\conf\logging.properties 
> -javaagent:C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\lib\openejb-javaagent.jar 
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
> -Djava.io.tmpdir=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\temp 
> -Dcatalina.base=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT 
> -Dcatalina.home=C:\Users\mvs_z\development\
>
> 4812 Bootstrap -XX:+HeapDumpOnOutOfMemoryError -Dtomee.httpPort=51747 
> -Xmx2048m -XX:PermSize=768m -XX:MaxPermSize=1536m 
> -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled 
> -XX:+CMSPermGenSweepingEnabled 
> -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false 
> -Dorg.apache.openejb.servlet.filters=org.apache.openejb.arquillian.common.ArquillianFilterRunner=/ArquillianServletRunner 
> -Dopenejb.system.apps=true -Dtomee.remote.support=true 
> -Djava.util.logging.config.file=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\conf\logging.properties 
> -javaagent:C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\lib\openejb-javaagent.jar 
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
> -Djava.io.tmpdir=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\temp 
> -Dcatalina.base=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-pl
>
> Best Regards,
> José Henrique Ventura.
> https://josehenriqueventura.github.io
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, December 14, 2018 9:09 AM, Jose Henrique Ventura 
> <jo...@protonmail.com.INVALID> wrote:
>
>> Hi Bruno,
>> I had to kill the process also but I think I waited enough before 
>> killing the process.
>>
>> Untitled1.png
>> This picture refer to the same last line of build-with-param-l.log.
>>
>> mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true 
>> -DuniqueVersion=false -ff -Dassemble -DskipTests 
>> -DfailIfNoTests=false clean install -T1C
>> - [INFO] Total time:  06:10 min (Wall Clock)
>>
>> mvn --fail-at-end clean install -Pall-adapters 
>> -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true 
>> -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false 
>> -DdisableXmlReport=true > build.log
>> - See the build.log
>>
>> mvn --fail-at-end clean install -Pall-adapters 
>> -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true 
>> -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false 
>> -DdisableXmlReport=true -l build-with-param-l.log
>> - See the build-with-param-l.log
>>
>> Best Regards,
>> José Henrique Ventura.
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> On Thursday, December 13, 2018 9:01 PM, César Hernández Mendoza 
>> <ce...@gmail.com> wrote:
>>
>>> Adding the build.log.
>>>
>>> El jue., 13 dic. 2018 a las 14:54, Bruno Baptista 
>>> (<brunobat@gmail.com <ma...@gmail.com>>) escribió:
>>>
>>>     Thanks César.
>>>
>>>     Some tests seem that have hanged but they don't provide feedback
>>>     and ate
>>>     just waiting for some condition. They can be like that for up to
>>>     5min.
>>>
>>>     I think you forgot the attachment :)
>>>
>>>     Bruno Baptista
>>>     https://twitter.com/brunobat_
>>>
>>>
>>>     On 13/12/18 20:38, César Hernández Mendoza wrote:
>>>     > Hi Bruno
>>>     >
>>>     > I follow the instruction you shared in this thread on my mac.
>>>     >
>>>     >     mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
>>>     >     -DuniqueVersion=false -ff -Dassemble -DskipTests
>>>     >     -DfailIfNoTests=false
>>>     >     clean install -T1C
>>>     >
>>>     >
>>>     > Worked fine and it looks around 3 min in my box:
>>>     > [INFO]
>>>     >
>>>     ------------------------------------------------------------------------
>>>     > [INFO] BUILD SUCCESS
>>>     > [INFO]
>>>     >
>>>     ------------------------------------------------------------------------
>>>     > [INFO] Total time: 03:48 min (Wall Clock)
>>>     > [INFO] Finished at: 2018-12-13T12:41:06-06:00
>>>     > [INFO] Final Memory: 264M/3515M
>>>     > [INFO]
>>>     >
>>>     ------------------------------------------------------------------------
>>>     >
>>>     >
>>>     > On the other hand,  when I went to tck/microprofile-tck and ran:
>>>     >
>>>     >     mvn --fail-at-end clean install -Pall-adapters
>>>     >     -Dmaven.test.error.ignore=true
>>>     -Dmaven.test.failure.ignore=true
>>>     >     -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
>>>     >     -DdisableXmlReport=true > build.log
>>>     >
>>>     >
>>>     > the build hanged after a couple of minutes. I had to kill the
>>>     process.
>>>     > I'm attaching the build.log
>>>     >
>>>     >
>>>     > El jue., 13 dic. 2018 a las 11:37, Bruno Baptista
>>>     (<brunobat@gmail.com <ma...@gmail.com>
>>>     > <mailto:brunobat@gmail.com <ma...@gmail.com>>>)
>>>     escribió:
>>>     >
>>>     >     Thanks César!
>>>     >
>>>     >     Bruno Baptista
>>>     > https://twitter.com/brunobat_
>>>     >
>>>     >
>>>     >     On 13/12/18 17:15, César Hernández Mendoza wrote:
>>>     >     > Hi Bruno,
>>>     >     > I can test on Mac.
>>>     >     >
>>>     >     > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista
>>>     >     (<brunobat@gmail.com <ma...@gmail.com>
>>>     <mailto:brunobat@gmail.com <ma...@gmail.com>>>)
>>>     >     > escribió:
>>>     >     >
>>>     >     >> Hi All,
>>>     >     >>
>>>     >     >> I've updated almost all the microprofile tests to run in
>>>     >     parallel with
>>>     >     >> 1C: https://github.com/apache/tomee/pull/268
>>>     >     >>
>>>     >     >> They seem to work ok on my machine.
>>>     >     >>
>>>     >     >> We were getting JVM crashes due to the way we were
>>>     redirecting the
>>>     >     >> output of the remote processes. Now we use:
>>>     >     >>
>>>     >     >> final ProcessBuilder pb = new ProcessBuilder(args)
>>>     >     >> .redirectOutput(Redirect.PIPE)
>>>     .redirectError(Redirect.PIPE)
>>>     >     >> .directory(home.getAbsoluteFile());
>>>     >     >>
>>>     >     >> I wonder if this is ok...
>>>     >     >>
>>>     >     >> Any volunteers to run the tck tests on a Mac and Windows?
>>>     >     >>
>>>     >     >>
>>>     >     >> I also tried to run the container tests in parallel,
>>>     but they
>>>     >     also fail,
>>>     >     >> sometimes:
>>>     >     >>
>>>     >     >> [INFO] Reactor Summary for OpenEJB :: Container
>>>     8.0.0-SNAPSHOT:
>>>     >     >> [INFO]
>>>     >     >> [INFO] OpenEJB :: Container ...............................
>>>     >     SUCCESS [
>>>     >     >> 0.517 s]
>>>     >     >> [INFO] OpenEJB :: Container :: MBean Annotation API .......
>>>     >     SUCCESS [
>>>     >     >> 0.576 s]
>>>     >     >> [INFO] OpenEJB :: Container :: API ........................
>>>     >     SUCCESS [
>>>     >     >> 0.140 s]
>>>     >     >> [INFO] OpenEJB :: Container :: JPA Integration ............
>>>     >     SUCCESS [
>>>     >     >> 0.288 s]
>>>     >     >> [INFO] OpenEJB :: Container :: Loader .....................
>>>     >     SUCCESS [
>>>     >     >> 12.271 s]
>>>     >     >> [INFO] OpenEJB :: Container :: Java Agent .................
>>>     >     SUCCESS [
>>>     >     >> 0.072 s]
>>>     >     >> [INFO] OpenEJB :: Container :: Java EE ....................
>>>     >     SUCCESS [
>>>     >     >> 9.044 s]
>>>     >     >> [INFO] OpenEJB :: Container :: Java EE Accessors ..........
>>>     >     SUCCESS [
>>>     >     >> 2.365 s]
>>>     >     >> [INFO] OpenEJB :: Container :: Core
>>>     ....................... FAILURE
>>>     >     >> [02:27 min]
>>>     >     >> [INFO] OpenEJB :: Container :: JUnit
>>>     ...................... SKIPPED
>>>     >     >> [INFO]
>>>     >     >>
>>>     >
>>>      ------------------------------------------------------------------------
>>>     >     >> [INFO] BUILD FAILURE
>>>     >     >> [INFO]
>>>     >     >>
>>>     >
>>>      ------------------------------------------------------------------------
>>>     >     >> [INFO] Total time:  02:52 min
>>>     >     >> [INFO] Finished at: 2018-12-13T12:56:16Z
>>>     >     >> [INFO]
>>>     >     >>
>>>     >
>>>      ------------------------------------------------------------------------
>>>     >     >> [ERROR] Failed to execute goal
>>>     >     >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>>>     >     >> (default-test) on project openejb-core: There are test
>>>     failures.
>>>     >     >> [ERROR]
>>>     >     >> [ERROR] Please refer to
>>>     >     >>
>>>     >
>>>      /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>>>     >     >> for the individual test results.
>>>     >     >> [ERROR] Please refer to dump files (if any exist)
>>>     >     [date]-jvmRun[N].dump,
>>>     >     >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>>>     >     >> [ERROR] ExecutionException The forked VM terminated without
>>>     >     properly
>>>     >     >> saying goodbye. VM crash or System.exit called?
>>>     >     >>
>>>     >     >> ...
>>>     >     >>
>>>     >     >> In this example only 2 tests failed. Will be
>>>     investigating what
>>>     >     might be
>>>     >     >> the cause.
>>>     >     >>
>>>     >     >> Cheers.
>>>     >     >>
>>>     >     >> Bruno Baptista
>>>     >     >> https://twitter.com/brunobat_
>>>     >     >>
>>>     >     >>
>>>     >     >> On 11/12/18 10:06, Bruno Baptista wrote:
>>>     >     >>> Hi folks,
>>>     >     >>>
>>>     >     >>> Yesterday me and Roberto we dived into the parallel
>>>     execution
>>>     >     of tests
>>>     >     >>> with Arquillian.
>>>     >     >>>
>>>     >     >>> Roberto had some experience with this and was aware of
>>>     TOMEE-2176.
>>>     >     >>>
>>>     >     >>> I was able to perform some parallel builds in the TCK
>>>     >     projects. The
>>>     >     >>> full build has issues in the container that need to be
>>>     researched.
>>>     >     >>>
>>>     >     >>> Unfortunately, this work uncovered other deeper issues
>>>     in the
>>>     >     >>> /RemoteServer/ class. The faster the computer, the
>>>     slower the
>>>     >     test run
>>>     >     >>> gets!!! There are collisions of some sort going on.
>>>     >     >>>
>>>     >     >>>   1. We were writing STDOUT in the wrong forked JVM
>>>     leading to
>>>     >     >>>      exceptions. This might be fixed by don't
>>>     inheriting the
>>>     >     output.
>>>     >     >>>      See PR.
>>>     >     >>>   2. Now, sometimes the servers fail to start and be
>>>     stopped
>>>     >     I'm still
>>>     >     >>>      figuring that out why.
>>>     >     >>>
>>>     >     >>> Suggestions are welcome. Will be adding some
>>>     additional debugging
>>>     >     >>> output and trying different things.
>>>     >     >>>
>>>     >     >>> PR: https://github.com/apache/tomee/pull/268
>>>     >     >>>
>>>     >     >>> Cheers
>>>     >     >>>
>>>     >     >>> Bruno Baptista
>>>     >     >>> https://twitter.com/brunobat_
>>>     >     >>>
>>>     >     >>>
>>>     >     >>> On 10/12/18 23:05, Bruno Baptista wrote:
>>>     >     >>>> Thanks!
>>>     >     >>>>
>>>     >     >>>> Bruno Baptista
>>>     >     >>>> https://twitter.com/brunobat_
>>>     >     >>>>
>>>     >     >>>>
>>>     >     >>>> On 10/12/18 22:51, Roberto Cortez wrote:
>>>     >     >>>>> Done. Unfortunately, only committers can do it.
>>>     >     >>>>>
>>>     >     >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista
>>>     >     <brunobat@gmail.com <ma...@gmail.com>
>>>     <mailto:brunobat@gmail.com <ma...@gmail.com>>> wrote:
>>>     >     >>>>>>
>>>     >     >>>>>> Hi folks,
>>>     >     >>>>>>
>>>     >     >>>>>> I've been researching why the full build is slow and I
>>>     >     think I've
>>>     >     >>>>>> come up with a solution...
>>>     >     >>>>>>
>>>     >     >>>>>> Can someone please assign this jira to me?
>>>     >     >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>     >     >>>>>>
>>>     >     >>>>>> If I can get assigning powers on jira would also be
>>>     nice :)
>>>     >     >>>>>>
>>>     >     >>>>>> Cheers.
>>>     >     >>>>>>
>>>     >     >>>>>> --
>>>     >     >>>>>> Bruno Baptista
>>>     >     >>>>>> https://twitter.com/brunobat_
>>>     >     >>>>>>
>>>     >     >>>>>>
>>>     >     >
>>>     >
>>>     >
>>>     >
>>>     > --
>>>     > Atentamente:
>>>     > César Hernández Mendoza.
>>>
>>>
>>>
>>> -- 
>>> Atentamente:
>>> César Hernández Mendoza.
>>
>

Re: Arquillian test cannot be run in parallel

Posted by Jose Henrique Ventura <jo...@protonmail.com.INVALID>.
See my jps -v output. As I ran the tck twice passing a different param to log maven output to a file, now I can see two process alive.

C:\Users\mvs_z\development\repositories\tomee\tck>jps -v

6656 Jps -Dapplication.home=C:\Program Files\Java\jdk1.8.0_144 -Xms8m

16424 Bootstrap -XX:+HeapDumpOnOutOfMemoryError -Dtomee.httpPort=53982 -Xmx512m -XX:MaxPermSize=512m -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false -Dorg.apache.openejb.servlet.filters=org.apache.openejb.arquillian.common.ArquillianFilterRunner=/ArquillianServletRunner -Dopenejb.system.apps=true -Dtomee.remote.support=true -Djava.util.logging.config.file=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\conf\logging.properties -javaagent:C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\lib\openejb-javaagent.jar -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.io.tmpdir=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT\temp -Dcatalina.base=C:\Users\mvs_z\development\repositories\tomee\tck\bval-tomee\target\tomee-tck\apache-tomee-webprofile-8.0.0-SNAPSHOT -Dcatalina.home=C:\Users\mvs_z\development\

4812 Bootstrap -XX:+HeapDumpOnOutOfMemoryError -Dtomee.httpPort=51747 -Xmx2048m -XX:PermSize=768m -XX:MaxPermSize=1536m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false -Dorg.apache.openejb.servlet.filters=org.apache.openejb.arquillian.common.ArquillianFilterRunner=/ArquillianServletRunner -Dopenejb.system.apps=true -Dtomee.remote.support=true -Djava.util.logging.config.file=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\conf\logging.properties -javaagent:C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\lib\openejb-javaagent.jar -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.io.tmpdir=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-plus-8.0.0-SNAPSHOT\temp -Dcatalina.base=C:\Users\mvs_z\development\repositories\tomee\tck\cdi-tomee\target\tomee\apache-tomee-pl

Best Regards,
José Henrique Ventura.
https://josehenriqueventura.github.io

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, December 14, 2018 9:09 AM, Jose Henrique Ventura <jo...@protonmail.com.INVALID> wrote:

> Hi Bruno,
> I had to kill the process also but I think I waited enough before killing the process.
>
> [Untitled1.png]
> This picture refer to the same last line of build-with-param-l.log.
>
> mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install -T1C
> - [INFO] Total time:  06:10 min (Wall Clock)
>
> mvn --fail-at-end clean install -Pall-adapters -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false -DdisableXmlReport=true > build.log
> - See the build.log
>
> mvn --fail-at-end clean install -Pall-adapters -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false -DdisableXmlReport=true -l build-with-param-l.log
> - See the build-with-param-l.log
>
> Best Regards,
> José Henrique Ventura.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, December 13, 2018 9:01 PM, César Hernández Mendoza <ce...@gmail.com> wrote:
>
>> Adding the build.log.
>>
>> El jue., 13 dic. 2018 a las 14:54, Bruno Baptista (<br...@gmail.com>) escribió:
>>
>>> Thanks César.
>>>
>>> Some tests seem that have hanged but they don't provide feedback and ate
>>> just waiting for some condition. They can be like that for up to 5min.
>>>
>>> I think you forgot the attachment :)
>>>
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>>
>>> On 13/12/18 20:38, César Hernández Mendoza wrote:
>>>> Hi Bruno
>>>>
>>>> I follow the instruction you shared in this thread on my mac.
>>>>
>>>>     mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
>>>>     -DuniqueVersion=false -ff -Dassemble -DskipTests
>>>>     -DfailIfNoTests=false
>>>>     clean install -T1C
>>>>
>>>>
>>>> Worked fine and it looks around 3 min in my box:
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESS
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 03:48 min (Wall Clock)
>>>> [INFO] Finished at: 2018-12-13T12:41:06-06:00
>>>> [INFO] Final Memory: 264M/3515M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> On the other hand,  when I went to tck/microprofile-tck and ran:
>>>>
>>>>     mvn --fail-at-end clean install -Pall-adapters
>>>>     -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
>>>>     -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
>>>>     -DdisableXmlReport=true > build.log
>>>>
>>>>
>>>> the build hanged after a couple of minutes. I had to kill the process.
>>>> I'm attaching the build.log
>>>>
>>>>
>>>> El jue., 13 dic. 2018 a las 11:37, Bruno Baptista (<brunobat@gmail.com
>>>> <ma...@gmail.com>>) escribió:
>>>>
>>>>     Thanks César!
>>>>
>>>>     Bruno Baptista
>>>>     https://twitter.com/brunobat_
>>>>
>>>>
>>>>     On 13/12/18 17:15, César Hernández Mendoza wrote:
>>>>     > Hi Bruno,
>>>>     > I can test on Mac.
>>>>     >
>>>>     > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista
>>>>     (<brunobat@gmail.com <ma...@gmail.com>>)
>>>>     > escribió:
>>>>     >
>>>>     >> Hi All,
>>>>     >>
>>>>     >> I've updated almost all the microprofile tests to run in
>>>>     parallel with
>>>>     >> 1C: https://github.com/apache/tomee/pull/268
>>>>     >>
>>>>     >> They seem to work ok on my machine.
>>>>     >>
>>>>     >> We were getting JVM crashes due to the way we were redirecting the
>>>>     >> output of the remote processes. Now we use:
>>>>     >>
>>>>     >> final ProcessBuilder pb = new ProcessBuilder(args)
>>>>     >> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
>>>>     >> .directory(home.getAbsoluteFile());
>>>>     >>
>>>>     >> I wonder if this is ok...
>>>>     >>
>>>>     >> Any volunteers to run the tck tests on a Mac and Windows?
>>>>     >>
>>>>     >>
>>>>     >> I also tried to run the container tests in parallel, but they
>>>>     also fail,
>>>>     >> sometimes:
>>>>     >>
>>>>     >> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
>>>>     >> [INFO]
>>>>     >> [INFO] OpenEJB :: Container ...............................
>>>>     SUCCESS [
>>>>     >> 0.517 s]
>>>>     >> [INFO] OpenEJB :: Container :: MBean Annotation API .......
>>>>     SUCCESS [
>>>>     >> 0.576 s]
>>>>     >> [INFO] OpenEJB :: Container :: API ........................
>>>>     SUCCESS [
>>>>     >> 0.140 s]
>>>>     >> [INFO] OpenEJB :: Container :: JPA Integration ............
>>>>     SUCCESS [
>>>>     >> 0.288 s]
>>>>     >> [INFO] OpenEJB :: Container :: Loader .....................
>>>>     SUCCESS [
>>>>     >> 12.271 s]
>>>>     >> [INFO] OpenEJB :: Container :: Java Agent .................
>>>>     SUCCESS [
>>>>     >> 0.072 s]
>>>>     >> [INFO] OpenEJB :: Container :: Java EE ....................
>>>>     SUCCESS [
>>>>     >> 9.044 s]
>>>>     >> [INFO] OpenEJB :: Container :: Java EE Accessors ..........
>>>>     SUCCESS [
>>>>     >> 2.365 s]
>>>>     >> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
>>>>     >> [02:27 min]
>>>>     >> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
>>>>     >> [INFO]
>>>>     >>
>>>>     ------------------------------------------------------------------------
>>>>     >> [INFO] BUILD FAILURE
>>>>     >> [INFO]
>>>>     >>
>>>>     ------------------------------------------------------------------------
>>>>     >> [INFO] Total time:  02:52 min
>>>>     >> [INFO] Finished at: 2018-12-13T12:56:16Z
>>>>     >> [INFO]
>>>>     >>
>>>>     ------------------------------------------------------------------------
>>>>     >> [ERROR] Failed to execute goal
>>>>     >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>>>>     >> (default-test) on project openejb-core: There are test failures.
>>>>     >> [ERROR]
>>>>     >> [ERROR] Please refer to
>>>>     >>
>>>>     /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>>>>     >> for the individual test results.
>>>>     >> [ERROR] Please refer to dump files (if any exist)
>>>>     [date]-jvmRun[N].dump,
>>>>     >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>>>>     >> [ERROR] ExecutionException The forked VM terminated without
>>>>     properly
>>>>     >> saying goodbye. VM crash or System.exit called?
>>>>     >>
>>>>     >> ...
>>>>     >>
>>>>     >> In this example only 2 tests failed. Will be investigating what
>>>>     might be
>>>>     >> the cause.
>>>>     >>
>>>>     >> Cheers.
>>>>     >>
>>>>     >> Bruno Baptista
>>>>     >> https://twitter.com/brunobat_
>>>>     >>
>>>>     >>
>>>>     >> On 11/12/18 10:06, Bruno Baptista wrote:
>>>>     >>> Hi folks,
>>>>     >>>
>>>>     >>> Yesterday me and Roberto we dived into the parallel execution
>>>>     of tests
>>>>     >>> with Arquillian.
>>>>     >>>
>>>>     >>> Roberto had some experience with this and was aware of TOMEE-2176.
>>>>     >>>
>>>>     >>> I was able to perform some parallel builds in the TCK
>>>>     projects. The
>>>>     >>> full build has issues in the container that need to be researched.
>>>>     >>>
>>>>     >>> Unfortunately, this work uncovered other deeper issues in the
>>>>     >>> /RemoteServer/ class. The faster the computer, the slower the
>>>>     test run
>>>>     >>> gets!!! There are collisions of some sort going on.
>>>>     >>>
>>>>     >>>   1. We were writing STDOUT in the wrong forked JVM leading to
>>>>     >>>      exceptions. This might be fixed by don't inheriting the
>>>>     output.
>>>>     >>>      See PR.
>>>>     >>>   2. Now, sometimes the servers fail to start and be stopped
>>>>     I'm still
>>>>     >>>      figuring that out why.
>>>>     >>>
>>>>     >>> Suggestions are welcome. Will be adding some additional debugging
>>>>     >>> output and trying different things.
>>>>     >>>
>>>>     >>> PR: https://github.com/apache/tomee/pull/268
>>>>     >>>
>>>>     >>> Cheers
>>>>     >>>
>>>>     >>> Bruno Baptista
>>>>     >>> https://twitter.com/brunobat_
>>>>     >>>
>>>>     >>>
>>>>     >>> On 10/12/18 23:05, Bruno Baptista wrote:
>>>>     >>>> Thanks!
>>>>     >>>>
>>>>     >>>> Bruno Baptista
>>>>     >>>> https://twitter.com/brunobat_
>>>>     >>>>
>>>>     >>>>
>>>>     >>>> On 10/12/18 22:51, Roberto Cortez wrote:
>>>>     >>>>> Done. Unfortunately, only committers can do it.
>>>>     >>>>>
>>>>     >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista
>>>>     <brunobat@gmail.com <ma...@gmail.com>> wrote:
>>>>     >>>>>>
>>>>     >>>>>> Hi folks,
>>>>     >>>>>>
>>>>     >>>>>> I've been researching why the full build is slow and I
>>>>     think I've
>>>>     >>>>>> come up with a solution...
>>>>     >>>>>>
>>>>     >>>>>> Can someone please assign this jira to me?
>>>>     >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>>     >>>>>>
>>>>     >>>>>> If I can get assigning powers on jira would also be nice :)
>>>>     >>>>>>
>>>>     >>>>>> Cheers.
>>>>     >>>>>>
>>>>     >>>>>> --
>>>>     >>>>>> Bruno Baptista
>>>>     >>>>>> https://twitter.com/brunobat_
>>>>     >>>>>>
>>>>     >>>>>>
>>>>     >
>>>>
>>>>
>>>>
>>>> --
>>>> Atentamente:
>>>> César Hernández Mendoza.
>>
>> --
>> Atentamente:
>> César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by Jose Henrique Ventura <jo...@protonmail.com.INVALID>.
Hi Bruno,
I had to kill the process also but I think I waited enough before killing the process.

[Untitled1.png]
This picture refer to the same last line of build-with-param-l.log.

mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install -T1C
- [INFO] Total time:  06:10 min (Wall Clock)

mvn --fail-at-end clean install -Pall-adapters -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false -DdisableXmlReport=true > build.log
- See the build.log

mvn --fail-at-end clean install -Pall-adapters -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false -DdisableXmlReport=true -l build-with-param-l.log
- See the build-with-param-l.log

Best Regards,
José Henrique Ventura.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 13, 2018 9:01 PM, César Hernández Mendoza <ce...@gmail.com> wrote:

> Adding the build.log.
>
> El jue., 13 dic. 2018 a las 14:54, Bruno Baptista (<br...@gmail.com>) escribió:
>
>> Thanks César.
>>
>> Some tests seem that have hanged but they don't provide feedback and ate
>> just waiting for some condition. They can be like that for up to 5min.
>>
>> I think you forgot the attachment :)
>>
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>> On 13/12/18 20:38, César Hernández Mendoza wrote:
>>> Hi Bruno
>>>
>>> I follow the instruction you shared in this thread on my mac.
>>>
>>>     mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
>>>     -DuniqueVersion=false -ff -Dassemble -DskipTests
>>>     -DfailIfNoTests=false
>>>     clean install -T1C
>>>
>>>
>>> Worked fine and it looks around 3 min in my box:
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 03:48 min (Wall Clock)
>>> [INFO] Finished at: 2018-12-13T12:41:06-06:00
>>> [INFO] Final Memory: 264M/3515M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>> On the other hand,  when I went to tck/microprofile-tck and ran:
>>>
>>>     mvn --fail-at-end clean install -Pall-adapters
>>>     -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
>>>     -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
>>>     -DdisableXmlReport=true > build.log
>>>
>>>
>>> the build hanged after a couple of minutes. I had to kill the process.
>>> I'm attaching the build.log
>>>
>>>
>>> El jue., 13 dic. 2018 a las 11:37, Bruno Baptista (<brunobat@gmail.com
>>> <ma...@gmail.com>>) escribió:
>>>
>>>     Thanks César!
>>>
>>>     Bruno Baptista
>>>     https://twitter.com/brunobat_
>>>
>>>
>>>     On 13/12/18 17:15, César Hernández Mendoza wrote:
>>>     > Hi Bruno,
>>>     > I can test on Mac.
>>>     >
>>>     > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista
>>>     (<brunobat@gmail.com <ma...@gmail.com>>)
>>>     > escribió:
>>>     >
>>>     >> Hi All,
>>>     >>
>>>     >> I've updated almost all the microprofile tests to run in
>>>     parallel with
>>>     >> 1C: https://github.com/apache/tomee/pull/268
>>>     >>
>>>     >> They seem to work ok on my machine.
>>>     >>
>>>     >> We were getting JVM crashes due to the way we were redirecting the
>>>     >> output of the remote processes. Now we use:
>>>     >>
>>>     >> final ProcessBuilder pb = new ProcessBuilder(args)
>>>     >> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
>>>     >> .directory(home.getAbsoluteFile());
>>>     >>
>>>     >> I wonder if this is ok...
>>>     >>
>>>     >> Any volunteers to run the tck tests on a Mac and Windows?
>>>     >>
>>>     >>
>>>     >> I also tried to run the container tests in parallel, but they
>>>     also fail,
>>>     >> sometimes:
>>>     >>
>>>     >> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
>>>     >> [INFO]
>>>     >> [INFO] OpenEJB :: Container ...............................
>>>     SUCCESS [
>>>     >> 0.517 s]
>>>     >> [INFO] OpenEJB :: Container :: MBean Annotation API .......
>>>     SUCCESS [
>>>     >> 0.576 s]
>>>     >> [INFO] OpenEJB :: Container :: API ........................
>>>     SUCCESS [
>>>     >> 0.140 s]
>>>     >> [INFO] OpenEJB :: Container :: JPA Integration ............
>>>     SUCCESS [
>>>     >> 0.288 s]
>>>     >> [INFO] OpenEJB :: Container :: Loader .....................
>>>     SUCCESS [
>>>     >> 12.271 s]
>>>     >> [INFO] OpenEJB :: Container :: Java Agent .................
>>>     SUCCESS [
>>>     >> 0.072 s]
>>>     >> [INFO] OpenEJB :: Container :: Java EE ....................
>>>     SUCCESS [
>>>     >> 9.044 s]
>>>     >> [INFO] OpenEJB :: Container :: Java EE Accessors ..........
>>>     SUCCESS [
>>>     >> 2.365 s]
>>>     >> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
>>>     >> [02:27 min]
>>>     >> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
>>>     >> [INFO]
>>>     >>
>>>     ------------------------------------------------------------------------
>>>     >> [INFO] BUILD FAILURE
>>>     >> [INFO]
>>>     >>
>>>     ------------------------------------------------------------------------
>>>     >> [INFO] Total time:  02:52 min
>>>     >> [INFO] Finished at: 2018-12-13T12:56:16Z
>>>     >> [INFO]
>>>     >>
>>>     ------------------------------------------------------------------------
>>>     >> [ERROR] Failed to execute goal
>>>     >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>>>     >> (default-test) on project openejb-core: There are test failures.
>>>     >> [ERROR]
>>>     >> [ERROR] Please refer to
>>>     >>
>>>     /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>>>     >> for the individual test results.
>>>     >> [ERROR] Please refer to dump files (if any exist)
>>>     [date]-jvmRun[N].dump,
>>>     >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>>>     >> [ERROR] ExecutionException The forked VM terminated without
>>>     properly
>>>     >> saying goodbye. VM crash or System.exit called?
>>>     >>
>>>     >> ...
>>>     >>
>>>     >> In this example only 2 tests failed. Will be investigating what
>>>     might be
>>>     >> the cause.
>>>     >>
>>>     >> Cheers.
>>>     >>
>>>     >> Bruno Baptista
>>>     >> https://twitter.com/brunobat_
>>>     >>
>>>     >>
>>>     >> On 11/12/18 10:06, Bruno Baptista wrote:
>>>     >>> Hi folks,
>>>     >>>
>>>     >>> Yesterday me and Roberto we dived into the parallel execution
>>>     of tests
>>>     >>> with Arquillian.
>>>     >>>
>>>     >>> Roberto had some experience with this and was aware of TOMEE-2176.
>>>     >>>
>>>     >>> I was able to perform some parallel builds in the TCK
>>>     projects. The
>>>     >>> full build has issues in the container that need to be researched.
>>>     >>>
>>>     >>> Unfortunately, this work uncovered other deeper issues in the
>>>     >>> /RemoteServer/ class. The faster the computer, the slower the
>>>     test run
>>>     >>> gets!!! There are collisions of some sort going on.
>>>     >>>
>>>     >>>   1. We were writing STDOUT in the wrong forked JVM leading to
>>>     >>>      exceptions. This might be fixed by don't inheriting the
>>>     output.
>>>     >>>      See PR.
>>>     >>>   2. Now, sometimes the servers fail to start and be stopped
>>>     I'm still
>>>     >>>      figuring that out why.
>>>     >>>
>>>     >>> Suggestions are welcome. Will be adding some additional debugging
>>>     >>> output and trying different things.
>>>     >>>
>>>     >>> PR: https://github.com/apache/tomee/pull/268
>>>     >>>
>>>     >>> Cheers
>>>     >>>
>>>     >>> Bruno Baptista
>>>     >>> https://twitter.com/brunobat_
>>>     >>>
>>>     >>>
>>>     >>> On 10/12/18 23:05, Bruno Baptista wrote:
>>>     >>>> Thanks!
>>>     >>>>
>>>     >>>> Bruno Baptista
>>>     >>>> https://twitter.com/brunobat_
>>>     >>>>
>>>     >>>>
>>>     >>>> On 10/12/18 22:51, Roberto Cortez wrote:
>>>     >>>>> Done. Unfortunately, only committers can do it.
>>>     >>>>>
>>>     >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista
>>>     <brunobat@gmail.com <ma...@gmail.com>> wrote:
>>>     >>>>>>
>>>     >>>>>> Hi folks,
>>>     >>>>>>
>>>     >>>>>> I've been researching why the full build is slow and I
>>>     think I've
>>>     >>>>>> come up with a solution...
>>>     >>>>>>
>>>     >>>>>> Can someone please assign this jira to me?
>>>     >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>     >>>>>>
>>>     >>>>>> If I can get assigning powers on jira would also be nice :)
>>>     >>>>>>
>>>     >>>>>> Cheers.
>>>     >>>>>>
>>>     >>>>>> --
>>>     >>>>>> Bruno Baptista
>>>     >>>>>> https://twitter.com/brunobat_
>>>     >>>>>>
>>>     >>>>>>
>>>     >
>>>
>>>
>>>
>>> --
>>> Atentamente:
>>> César Hernández Mendoza.
>
> --
> Atentamente:
> César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by César Hernández Mendoza <ce...@gmail.com>.
Adding the build.log.

El jue., 13 dic. 2018 a las 14:54, Bruno Baptista (<br...@gmail.com>)
escribió:

> Thanks César.
>
> Some tests seem that have hanged but they don't provide feedback and ate
> just waiting for some condition. They can be like that for up to 5min.
>
> I think you forgot the attachment :)
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 13/12/18 20:38, César Hernández Mendoza wrote:
> > Hi Bruno
> >
> > I follow the instruction you shared in this thread on my mac.
> >
> >     mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
> >     -DuniqueVersion=false -ff -Dassemble -DskipTests
> >     -DfailIfNoTests=false
> >     clean install -T1C
> >
> >
> > Worked fine and it looks around 3 min in my box:
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 03:48 min (Wall Clock)
> > [INFO] Finished at: 2018-12-13T12:41:06-06:00
> > [INFO] Final Memory: 264M/3515M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > On the other hand,  when I went to tck/microprofile-tck and ran:
> >
> >     mvn --fail-at-end clean install -Pall-adapters
> >     -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
> >     -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
> >     -DdisableXmlReport=true > build.log
> >
> >
> > the build hanged after a couple of minutes. I had to kill the process.
> > I'm attaching the build.log
> >
> >
> > El jue., 13 dic. 2018 a las 11:37, Bruno Baptista (<brunobat@gmail.com
> > <ma...@gmail.com>>) escribió:
> >
> >     Thanks César!
> >
> >     Bruno Baptista
> >     https://twitter.com/brunobat_
> >
> >
> >     On 13/12/18 17:15, César Hernández Mendoza wrote:
> >     > Hi Bruno,
> >     > I can test on Mac.
> >     >
> >     > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista
> >     (<brunobat@gmail.com <ma...@gmail.com>>)
> >     > escribió:
> >     >
> >     >> Hi All,
> >     >>
> >     >> I've updated almost all the microprofile tests to run in
> >     parallel with
> >     >> 1C: https://github.com/apache/tomee/pull/268
> >     >>
> >     >> They seem to work ok on my machine.
> >     >>
> >     >> We were getting JVM crashes due to the way we were redirecting the
> >     >> output of the remote processes. Now we use:
> >     >>
> >     >> final ProcessBuilder pb = new ProcessBuilder(args)
> >     >> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
> >     >> .directory(home.getAbsoluteFile());
> >     >>
> >     >> I wonder if this is ok...
> >     >>
> >     >> Any volunteers to run the tck tests on a Mac and Windows?
> >     >>
> >     >>
> >     >> I also tried to run the container tests in parallel, but they
> >     also fail,
> >     >> sometimes:
> >     >>
> >     >> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
> >     >> [INFO]
> >     >> [INFO] OpenEJB :: Container ...............................
> >     SUCCESS [
> >     >> 0.517 s]
> >     >> [INFO] OpenEJB :: Container :: MBean Annotation API .......
> >     SUCCESS [
> >     >> 0.576 s]
> >     >> [INFO] OpenEJB :: Container :: API ........................
> >     SUCCESS [
> >     >> 0.140 s]
> >     >> [INFO] OpenEJB :: Container :: JPA Integration ............
> >     SUCCESS [
> >     >> 0.288 s]
> >     >> [INFO] OpenEJB :: Container :: Loader .....................
> >     SUCCESS [
> >     >> 12.271 s]
> >     >> [INFO] OpenEJB :: Container :: Java Agent .................
> >     SUCCESS [
> >     >> 0.072 s]
> >     >> [INFO] OpenEJB :: Container :: Java EE ....................
> >     SUCCESS [
> >     >> 9.044 s]
> >     >> [INFO] OpenEJB :: Container :: Java EE Accessors ..........
> >     SUCCESS [
> >     >> 2.365 s]
> >     >> [INFO] OpenEJB :: Container :: Core .......................
> FAILURE
> >     >> [02:27 min]
> >     >> [INFO] OpenEJB :: Container :: JUnit ......................
> SKIPPED
> >     >> [INFO]
> >     >>
> >
>  ------------------------------------------------------------------------
> >     >> [INFO] BUILD FAILURE
> >     >> [INFO]
> >     >>
> >
>  ------------------------------------------------------------------------
> >     >> [INFO] Total time:  02:52 min
> >     >> [INFO] Finished at: 2018-12-13T12:56:16Z
> >     >> [INFO]
> >     >>
> >
>  ------------------------------------------------------------------------
> >     >> [ERROR] Failed to execute goal
> >     >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
> >     >> (default-test) on project openejb-core: There are test failures.
> >     >> [ERROR]
> >     >> [ERROR] Please refer to
> >     >>
> >
>  /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
> >     >> for the individual test results.
> >     >> [ERROR] Please refer to dump files (if any exist)
> >     [date]-jvmRun[N].dump,
> >     >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> >     >> [ERROR] ExecutionException The forked VM terminated without
> >     properly
> >     >> saying goodbye. VM crash or System.exit called?
> >     >>
> >     >> ...
> >     >>
> >     >> In this example only 2 tests failed. Will be investigating what
> >     might be
> >     >> the cause.
> >     >>
> >     >> Cheers.
> >     >>
> >     >> Bruno Baptista
> >     >> https://twitter.com/brunobat_
> >     >>
> >     >>
> >     >> On 11/12/18 10:06, Bruno Baptista wrote:
> >     >>> Hi folks,
> >     >>>
> >     >>> Yesterday me and Roberto we dived into the parallel execution
> >     of tests
> >     >>> with Arquillian.
> >     >>>
> >     >>> Roberto had some experience with this and was aware of
> TOMEE-2176.
> >     >>>
> >     >>> I was able to perform some parallel builds in the TCK
> >     projects. The
> >     >>> full build has issues in the container that need to be
> researched.
> >     >>>
> >     >>> Unfortunately, this work uncovered other deeper issues in the
> >     >>> /RemoteServer/ class. The faster the computer, the slower the
> >     test run
> >     >>> gets!!! There are collisions of some sort going on.
> >     >>>
> >     >>>   1. We were writing STDOUT in the wrong forked JVM leading to
> >     >>>      exceptions. This might be fixed by don't inheriting the
> >     output.
> >     >>>      See PR.
> >     >>>   2. Now, sometimes the servers fail to start and be stopped
> >     I'm still
> >     >>>      figuring that out why.
> >     >>>
> >     >>> Suggestions are welcome. Will be adding some additional debugging
> >     >>> output and trying different things.
> >     >>>
> >     >>> PR: https://github.com/apache/tomee/pull/268
> >     >>>
> >     >>> Cheers
> >     >>>
> >     >>> Bruno Baptista
> >     >>> https://twitter.com/brunobat_
> >     >>>
> >     >>>
> >     >>> On 10/12/18 23:05, Bruno Baptista wrote:
> >     >>>> Thanks!
> >     >>>>
> >     >>>> Bruno Baptista
> >     >>>> https://twitter.com/brunobat_
> >     >>>>
> >     >>>>
> >     >>>> On 10/12/18 22:51, Roberto Cortez wrote:
> >     >>>>> Done. Unfortunately, only committers can do it.
> >     >>>>>
> >     >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista
> >     <brunobat@gmail.com <ma...@gmail.com>> wrote:
> >     >>>>>>
> >     >>>>>> Hi folks,
> >     >>>>>>
> >     >>>>>> I've been researching why the full build is slow and I
> >     think I've
> >     >>>>>> come up with a solution...
> >     >>>>>>
> >     >>>>>> Can someone please assign this jira to me?
> >     >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
> >     >>>>>>
> >     >>>>>> If I can get assigning powers on jira would also be nice :)
> >     >>>>>>
> >     >>>>>> Cheers.
> >     >>>>>>
> >     >>>>>> --
> >     >>>>>> Bruno Baptista
> >     >>>>>> https://twitter.com/brunobat_
> >     >>>>>>
> >     >>>>>>
> >     >
> >
> >
> >
> > --
> > Atentamente:
> > César Hernández Mendoza.
>


-- 
Atentamente:
César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Thanks César.

Some tests seem that have hanged but they don't provide feedback and ate 
just waiting for some condition. They can be like that for up to 5min.

I think you forgot the attachment :)

Bruno Baptista
https://twitter.com/brunobat_


On 13/12/18 20:38, César Hernández Mendoza wrote:
> Hi Bruno
>
> I follow the instruction you shared in this thread on my mac.
>
>     mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
>     -DuniqueVersion=false -ff -Dassemble -DskipTests
>     -DfailIfNoTests=false
>     clean install -T1C
>
>
> Worked fine and it looks around 3 min in my box:
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 03:48 min (Wall Clock)
> [INFO] Finished at: 2018-12-13T12:41:06-06:00
> [INFO] Final Memory: 264M/3515M
> [INFO] 
> ------------------------------------------------------------------------
>
>
> On the other hand,  when I went to tck/microprofile-tck and ran:
>
>     mvn --fail-at-end clean install -Pall-adapters
>     -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
>     -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
>     -DdisableXmlReport=true > build.log
>
>
> the build hanged after a couple of minutes. I had to kill the process. 
> I'm attaching the build.log
>
>
> El jue., 13 dic. 2018 a las 11:37, Bruno Baptista (<brunobat@gmail.com 
> <ma...@gmail.com>>) escribió:
>
>     Thanks César!
>
>     Bruno Baptista
>     https://twitter.com/brunobat_
>
>
>     On 13/12/18 17:15, César Hernández Mendoza wrote:
>     > Hi Bruno,
>     > I can test on Mac.
>     >
>     > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista
>     (<brunobat@gmail.com <ma...@gmail.com>>)
>     > escribió:
>     >
>     >> Hi All,
>     >>
>     >> I've updated almost all the microprofile tests to run in
>     parallel with
>     >> 1C: https://github.com/apache/tomee/pull/268
>     >>
>     >> They seem to work ok on my machine.
>     >>
>     >> We were getting JVM crashes due to the way we were redirecting the
>     >> output of the remote processes. Now we use:
>     >>
>     >> final ProcessBuilder pb = new ProcessBuilder(args)
>     >> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
>     >> .directory(home.getAbsoluteFile());
>     >>
>     >> I wonder if this is ok...
>     >>
>     >> Any volunteers to run the tck tests on a Mac and Windows?
>     >>
>     >>
>     >> I also tried to run the container tests in parallel, but they
>     also fail,
>     >> sometimes:
>     >>
>     >> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
>     >> [INFO]
>     >> [INFO] OpenEJB :: Container ...............................
>     SUCCESS [
>     >> 0.517 s]
>     >> [INFO] OpenEJB :: Container :: MBean Annotation API .......
>     SUCCESS [
>     >> 0.576 s]
>     >> [INFO] OpenEJB :: Container :: API ........................
>     SUCCESS [
>     >> 0.140 s]
>     >> [INFO] OpenEJB :: Container :: JPA Integration ............
>     SUCCESS [
>     >> 0.288 s]
>     >> [INFO] OpenEJB :: Container :: Loader .....................
>     SUCCESS [
>     >> 12.271 s]
>     >> [INFO] OpenEJB :: Container :: Java Agent .................
>     SUCCESS [
>     >> 0.072 s]
>     >> [INFO] OpenEJB :: Container :: Java EE ....................
>     SUCCESS [
>     >> 9.044 s]
>     >> [INFO] OpenEJB :: Container :: Java EE Accessors ..........
>     SUCCESS [
>     >> 2.365 s]
>     >> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
>     >> [02:27 min]
>     >> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [INFO] BUILD FAILURE
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [INFO] Total time:  02:52 min
>     >> [INFO] Finished at: 2018-12-13T12:56:16Z
>     >> [INFO]
>     >>
>     ------------------------------------------------------------------------
>     >> [ERROR] Failed to execute goal
>     >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>     >> (default-test) on project openejb-core: There are test failures.
>     >> [ERROR]
>     >> [ERROR] Please refer to
>     >>
>     /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>     >> for the individual test results.
>     >> [ERROR] Please refer to dump files (if any exist)
>     [date]-jvmRun[N].dump,
>     >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>     >> [ERROR] ExecutionException The forked VM terminated without
>     properly
>     >> saying goodbye. VM crash or System.exit called?
>     >>
>     >> ...
>     >>
>     >> In this example only 2 tests failed. Will be investigating what
>     might be
>     >> the cause.
>     >>
>     >> Cheers.
>     >>
>     >> Bruno Baptista
>     >> https://twitter.com/brunobat_
>     >>
>     >>
>     >> On 11/12/18 10:06, Bruno Baptista wrote:
>     >>> Hi folks,
>     >>>
>     >>> Yesterday me and Roberto we dived into the parallel execution
>     of tests
>     >>> with Arquillian.
>     >>>
>     >>> Roberto had some experience with this and was aware of TOMEE-2176.
>     >>>
>     >>> I was able to perform some parallel builds in the TCK
>     projects. The
>     >>> full build has issues in the container that need to be researched.
>     >>>
>     >>> Unfortunately, this work uncovered other deeper issues in the
>     >>> /RemoteServer/ class. The faster the computer, the slower the
>     test run
>     >>> gets!!! There are collisions of some sort going on.
>     >>>
>     >>>   1. We were writing STDOUT in the wrong forked JVM leading to
>     >>>      exceptions. This might be fixed by don't inheriting the
>     output.
>     >>>      See PR.
>     >>>   2. Now, sometimes the servers fail to start and be stopped
>     I'm still
>     >>>      figuring that out why.
>     >>>
>     >>> Suggestions are welcome. Will be adding some additional debugging
>     >>> output and trying different things.
>     >>>
>     >>> PR: https://github.com/apache/tomee/pull/268
>     >>>
>     >>> Cheers
>     >>>
>     >>> Bruno Baptista
>     >>> https://twitter.com/brunobat_
>     >>>
>     >>>
>     >>> On 10/12/18 23:05, Bruno Baptista wrote:
>     >>>> Thanks!
>     >>>>
>     >>>> Bruno Baptista
>     >>>> https://twitter.com/brunobat_
>     >>>>
>     >>>>
>     >>>> On 10/12/18 22:51, Roberto Cortez wrote:
>     >>>>> Done. Unfortunately, only committers can do it.
>     >>>>>
>     >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista
>     <brunobat@gmail.com <ma...@gmail.com>> wrote:
>     >>>>>>
>     >>>>>> Hi folks,
>     >>>>>>
>     >>>>>> I've been researching why the full build is slow and I
>     think I've
>     >>>>>> come up with a solution...
>     >>>>>>
>     >>>>>> Can someone please assign this jira to me?
>     >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>     >>>>>>
>     >>>>>> If I can get assigning powers on jira would also be nice :)
>     >>>>>>
>     >>>>>> Cheers.
>     >>>>>>
>     >>>>>> --
>     >>>>>> Bruno Baptista
>     >>>>>> https://twitter.com/brunobat_
>     >>>>>>
>     >>>>>>
>     >
>
>
>
> -- 
> Atentamente:
> César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by César Hernández Mendoza <ce...@gmail.com>.
Hi Bruno

I follow the instruction you shared in this thread on my mac.

mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true
> -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false
> clean install -T1C


Worked fine and it looks around 3 min in my box:
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:48 min (Wall Clock)
[INFO] Finished at: 2018-12-13T12:41:06-06:00
[INFO] Final Memory: 264M/3515M
[INFO]
------------------------------------------------------------------------


On the other hand,  when I went to tck/microprofile-tck and ran:

> mvn --fail-at-end clean install -Pall-adapters
> -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
> -Dhttps.protocols=TLSv1.1,TLSv1.2 -Dsurefire.useFile=false
> -DdisableXmlReport=true > build.log


the build hanged after a couple of minutes. I had to kill the process. I'm
attaching the build.log


El jue., 13 dic. 2018 a las 11:37, Bruno Baptista (<br...@gmail.com>)
escribió:

> Thanks César!
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 13/12/18 17:15, César Hernández Mendoza wrote:
> > Hi Bruno,
> > I can test on Mac.
> >
> > El jue., 13 dic. 2018 a las 10:16, Bruno Baptista (<br...@gmail.com>)
> > escribió:
> >
> >> Hi All,
> >>
> >> I've updated almost all the microprofile tests to run in parallel with
> >> 1C: https://github.com/apache/tomee/pull/268
> >>
> >> They seem to work ok on my machine.
> >>
> >> We were getting JVM crashes due to the way we were redirecting the
> >> output of the remote processes. Now we use:
> >>
> >> final ProcessBuilder pb = new ProcessBuilder(args)
> >> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
> >> .directory(home.getAbsoluteFile());
> >>
> >> I wonder if this is ok...
> >>
> >> Any volunteers to run the tck tests on a Mac and Windows?
> >>
> >>
> >> I also tried to run the container tests in parallel, but they also fail,
> >> sometimes:
> >>
> >> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
> >> [INFO]
> >> [INFO] OpenEJB :: Container ............................... SUCCESS [
> >> 0.517 s]
> >> [INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [
> >> 0.576 s]
> >> [INFO] OpenEJB :: Container :: API ........................ SUCCESS [
> >> 0.140 s]
> >> [INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [
> >> 0.288 s]
> >> [INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [
> >> 12.271 s]
> >> [INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [
> >> 0.072 s]
> >> [INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [
> >> 9.044 s]
> >> [INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [
> >> 2.365 s]
> >> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
> >> [02:27 min]
> >> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time:  02:52 min
> >> [INFO] Finished at: 2018-12-13T12:56:16Z
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
> >> (default-test) on project openejb-core: There are test failures.
> >> [ERROR]
> >> [ERROR] Please refer to
> >> /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
> >> for the individual test results.
> >> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> >> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> >> [ERROR] ExecutionException The forked VM terminated without properly
> >> saying goodbye. VM crash or System.exit called?
> >>
> >> ...
> >>
> >> In this example only 2 tests failed. Will be investigating what might be
> >> the cause.
> >>
> >> Cheers.
> >>
> >> Bruno Baptista
> >> https://twitter.com/brunobat_
> >>
> >>
> >> On 11/12/18 10:06, Bruno Baptista wrote:
> >>> Hi folks,
> >>>
> >>> Yesterday me and Roberto we dived into the parallel execution of tests
> >>> with Arquillian.
> >>>
> >>> Roberto had some experience with this and was aware of TOMEE-2176.
> >>>
> >>> I was able to perform some parallel builds in the TCK projects. The
> >>> full build has issues in the container that need to be researched.
> >>>
> >>> Unfortunately, this work uncovered other deeper issues in the
> >>> /RemoteServer/ class. The faster the computer, the slower the test run
> >>> gets!!! There are collisions of some sort going on.
> >>>
> >>>   1. We were writing STDOUT in the wrong forked JVM leading to
> >>>      exceptions. This might be fixed by don't inheriting the output.
> >>>      See PR.
> >>>   2. Now, sometimes the servers fail to start and be stopped I'm still
> >>>      figuring that out why.
> >>>
> >>> Suggestions are welcome. Will be adding some additional debugging
> >>> output and trying different things.
> >>>
> >>> PR: https://github.com/apache/tomee/pull/268
> >>>
> >>> Cheers
> >>>
> >>> Bruno Baptista
> >>> https://twitter.com/brunobat_
> >>>
> >>>
> >>> On 10/12/18 23:05, Bruno Baptista wrote:
> >>>> Thanks!
> >>>>
> >>>> Bruno Baptista
> >>>> https://twitter.com/brunobat_
> >>>>
> >>>>
> >>>> On 10/12/18 22:51, Roberto Cortez wrote:
> >>>>> Done. Unfortunately, only committers can do it.
> >>>>>
> >>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com>
> wrote:
> >>>>>>
> >>>>>> Hi folks,
> >>>>>>
> >>>>>> I've been researching why the full build is slow and I think I've
> >>>>>> come up with a solution...
> >>>>>>
> >>>>>> Can someone please assign this jira to me?
> >>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
> >>>>>>
> >>>>>> If I can get assigning powers on jira would also be nice :)
> >>>>>>
> >>>>>> Cheers.
> >>>>>>
> >>>>>> --
> >>>>>> Bruno Baptista
> >>>>>> https://twitter.com/brunobat_
> >>>>>>
> >>>>>>
> >
>


-- 
Atentamente:
César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Thanks César!

Bruno Baptista
https://twitter.com/brunobat_


On 13/12/18 17:15, César Hernández Mendoza wrote:
> Hi Bruno,
> I can test on Mac.
>
> El jue., 13 dic. 2018 a las 10:16, Bruno Baptista (<br...@gmail.com>)
> escribió:
>
>> Hi All,
>>
>> I've updated almost all the microprofile tests to run in parallel with
>> 1C: https://github.com/apache/tomee/pull/268
>>
>> They seem to work ok on my machine.
>>
>> We were getting JVM crashes due to the way we were redirecting the
>> output of the remote processes. Now we use:
>>
>> final ProcessBuilder pb = new ProcessBuilder(args)
>> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
>> .directory(home.getAbsoluteFile());
>>
>> I wonder if this is ok...
>>
>> Any volunteers to run the tck tests on a Mac and Windows?
>>
>>
>> I also tried to run the container tests in parallel, but they also fail,
>> sometimes:
>>
>> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
>> [INFO]
>> [INFO] OpenEJB :: Container ............................... SUCCESS [
>> 0.517 s]
>> [INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [
>> 0.576 s]
>> [INFO] OpenEJB :: Container :: API ........................ SUCCESS [
>> 0.140 s]
>> [INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [
>> 0.288 s]
>> [INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [
>> 12.271 s]
>> [INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [
>> 0.072 s]
>> [INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [
>> 9.044 s]
>> [INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [
>> 2.365 s]
>> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
>> [02:27 min]
>> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time:  02:52 min
>> [INFO] Finished at: 2018-12-13T12:56:16Z
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
>> (default-test) on project openejb-core: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
>> for the individual test results.
>> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
>> [date].dumpstream and [date]-jvmRun[N].dumpstream.
>> [ERROR] ExecutionException The forked VM terminated without properly
>> saying goodbye. VM crash or System.exit called?
>>
>> ...
>>
>> In this example only 2 tests failed. Will be investigating what might be
>> the cause.
>>
>> Cheers.
>>
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>>
>> On 11/12/18 10:06, Bruno Baptista wrote:
>>> Hi folks,
>>>
>>> Yesterday me and Roberto we dived into the parallel execution of tests
>>> with Arquillian.
>>>
>>> Roberto had some experience with this and was aware of TOMEE-2176.
>>>
>>> I was able to perform some parallel builds in the TCK projects. The
>>> full build has issues in the container that need to be researched.
>>>
>>> Unfortunately, this work uncovered other deeper issues in the
>>> /RemoteServer/ class. The faster the computer, the slower the test run
>>> gets!!! There are collisions of some sort going on.
>>>
>>>   1. We were writing STDOUT in the wrong forked JVM leading to
>>>      exceptions. This might be fixed by don't inheriting the output.
>>>      See PR.
>>>   2. Now, sometimes the servers fail to start and be stopped I'm still
>>>      figuring that out why.
>>>
>>> Suggestions are welcome. Will be adding some additional debugging
>>> output and trying different things.
>>>
>>> PR: https://github.com/apache/tomee/pull/268
>>>
>>> Cheers
>>>
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>>
>>>
>>> On 10/12/18 23:05, Bruno Baptista wrote:
>>>> Thanks!
>>>>
>>>> Bruno Baptista
>>>> https://twitter.com/brunobat_
>>>>
>>>>
>>>> On 10/12/18 22:51, Roberto Cortez wrote:
>>>>> Done. Unfortunately, only committers can do it.
>>>>>
>>>>>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
>>>>>>
>>>>>> Hi folks,
>>>>>>
>>>>>> I've been researching why the full build is slow and I think I've
>>>>>> come up with a solution...
>>>>>>
>>>>>> Can someone please assign this jira to me?
>>>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>>>>
>>>>>> If I can get assigning powers on jira would also be nice :)
>>>>>>
>>>>>> Cheers.
>>>>>>
>>>>>> --
>>>>>> Bruno Baptista
>>>>>> https://twitter.com/brunobat_
>>>>>>
>>>>>>
>

Re: Arquillian test cannot be run in parallel

Posted by César Hernández Mendoza <ce...@gmail.com>.
Hi Bruno,
I can test on Mac.

El jue., 13 dic. 2018 a las 10:16, Bruno Baptista (<br...@gmail.com>)
escribió:

> Hi All,
>
> I've updated almost all the microprofile tests to run in parallel with
> 1C: https://github.com/apache/tomee/pull/268
>
> They seem to work ok on my machine.
>
> We were getting JVM crashes due to the way we were redirecting the
> output of the remote processes. Now we use:
>
> final ProcessBuilder pb = new ProcessBuilder(args)
> .redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE)
> .directory(home.getAbsoluteFile());
>
> I wonder if this is ok...
>
> Any volunteers to run the tck tests on a Mac and Windows?
>
>
> I also tried to run the container tests in parallel, but they also fail,
> sometimes:
>
> [INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
> [INFO]
> [INFO] OpenEJB :: Container ............................... SUCCESS [
> 0.517 s]
> [INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [
> 0.576 s]
> [INFO] OpenEJB :: Container :: API ........................ SUCCESS [
> 0.140 s]
> [INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [
> 0.288 s]
> [INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [
> 12.271 s]
> [INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [
> 0.072 s]
> [INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [
> 9.044 s]
> [INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [
> 2.365 s]
> [INFO] OpenEJB :: Container :: Core ....................... FAILURE
> [02:27 min]
> [INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  02:52 min
> [INFO] Finished at: 2018-12-13T12:56:16Z
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
> (default-test) on project openejb-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /devel/code/apache/tomee/container/openejb-core/target/surefire-reports
> for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump,
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> [ERROR] ExecutionException The forked VM terminated without properly
> saying goodbye. VM crash or System.exit called?
>
> ...
>
> In this example only 2 tests failed. Will be investigating what might be
> the cause.
>
> Cheers.
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 11/12/18 10:06, Bruno Baptista wrote:
> >
> > Hi folks,
> >
> > Yesterday me and Roberto we dived into the parallel execution of tests
> > with Arquillian.
> >
> > Roberto had some experience with this and was aware of TOMEE-2176.
> >
> > I was able to perform some parallel builds in the TCK projects. The
> > full build has issues in the container that need to be researched.
> >
> > Unfortunately, this work uncovered other deeper issues in the
> > /RemoteServer/ class. The faster the computer, the slower the test run
> > gets!!! There are collisions of some sort going on.
> >
> >  1. We were writing STDOUT in the wrong forked JVM leading to
> >     exceptions. This might be fixed by don't inheriting the output.
> >     See PR.
> >  2. Now, sometimes the servers fail to start and be stopped I'm still
> >     figuring that out why.
> >
> > Suggestions are welcome. Will be adding some additional debugging
> > output and trying different things.
> >
> > PR: https://github.com/apache/tomee/pull/268
> >
> > Cheers
> >
> > Bruno Baptista
> > https://twitter.com/brunobat_
> >
> >
> > On 10/12/18 23:05, Bruno Baptista wrote:
> >> Thanks!
> >>
> >> Bruno Baptista
> >> https://twitter.com/brunobat_
> >>
> >>
> >> On 10/12/18 22:51, Roberto Cortez wrote:
> >>> Done. Unfortunately, only committers can do it.
> >>>
> >>>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
> >>>>
> >>>> Hi folks,
> >>>>
> >>>> I've been researching why the full build is slow and I think I've
> >>>> come up with a solution...
> >>>>
> >>>> Can someone please assign this jira to me?
> >>>> https://issues.apache.org/jira/browse/TOMEE-2176
> >>>>
> >>>> If I can get assigning powers on jira would also be nice :)
> >>>>
> >>>> Cheers.
> >>>>
> >>>> --
> >>>> Bruno Baptista
> >>>> https://twitter.com/brunobat_
> >>>>
> >>>>
>


-- 
Atentamente:
César Hernández Mendoza.

Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Hi All,

I've updated almost all the microprofile tests to run in parallel with 
1C: https://github.com/apache/tomee/pull/268

They seem to work ok on my machine.

We were getting JVM crashes due to the way we were redirecting the 
output of the remote processes. Now we use:

final ProcessBuilder pb = new ProcessBuilder(args) 
.redirectOutput(Redirect.PIPE) .redirectError(Redirect.PIPE) 
.directory(home.getAbsoluteFile());

I wonder if this is ok...

Any volunteers to run the tck tests on a Mac and Windows?


I also tried to run the container tests in parallel, but they also fail, 
sometimes:

[INFO] Reactor Summary for OpenEJB :: Container 8.0.0-SNAPSHOT:
[INFO]
[INFO] OpenEJB :: Container ............................... SUCCESS [  
0.517 s]
[INFO] OpenEJB :: Container :: MBean Annotation API ....... SUCCESS [  
0.576 s]
[INFO] OpenEJB :: Container :: API ........................ SUCCESS [  
0.140 s]
[INFO] OpenEJB :: Container :: JPA Integration ............ SUCCESS [  
0.288 s]
[INFO] OpenEJB :: Container :: Loader ..................... SUCCESS [ 
12.271 s]
[INFO] OpenEJB :: Container :: Java Agent ................. SUCCESS [  
0.072 s]
[INFO] OpenEJB :: Container :: Java EE .................... SUCCESS [  
9.044 s]
[INFO] OpenEJB :: Container :: Java EE Accessors .......... SUCCESS [  
2.365 s]
[INFO] OpenEJB :: Container :: Core ....................... FAILURE 
[02:27 min]
[INFO] OpenEJB :: Container :: JUnit ...................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  02:52 min
[INFO] Finished at: 2018-12-13T12:56:16Z
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test 
(default-test) on project openejb-core: There are test failures.
[ERROR]
[ERROR] Please refer to 
/devel/code/apache/tomee/container/openejb-core/target/surefire-reports 
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly 
saying goodbye. VM crash or System.exit called?

...

In this example only 2 tests failed. Will be investigating what might be 
the cause.

Cheers.

Bruno Baptista
https://twitter.com/brunobat_


On 11/12/18 10:06, Bruno Baptista wrote:
>
> Hi folks,
>
> Yesterday me and Roberto we dived into the parallel execution of tests 
> with Arquillian.
>
> Roberto had some experience with this and was aware of TOMEE-2176.
>
> I was able to perform some parallel builds in the TCK projects. The 
> full build has issues in the container that need to be researched.
>
> Unfortunately, this work uncovered other deeper issues in the 
> /RemoteServer/ class. The faster the computer, the slower the test run 
> gets!!! There are collisions of some sort going on.
>
>  1. We were writing STDOUT in the wrong forked JVM leading to
>     exceptions. This might be fixed by don't inheriting the output.
>     See PR.
>  2. Now, sometimes the servers fail to start and be stopped I'm still
>     figuring that out why.
>
> Suggestions are welcome. Will be adding some additional debugging 
> output and trying different things.
>
> PR: https://github.com/apache/tomee/pull/268
>
> Cheers
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 10/12/18 23:05, Bruno Baptista wrote:
>> Thanks!
>>
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>>
>> On 10/12/18 22:51, Roberto Cortez wrote:
>>> Done. Unfortunately, only committers can do it.
>>>
>>>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
>>>>
>>>> Hi folks,
>>>>
>>>> I've been researching why the full build is slow and I think I've 
>>>> come up with a solution...
>>>>
>>>> Can someone please assign this jira to me? 
>>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>>
>>>> If I can get assigning powers on jira would also be nice :)
>>>>
>>>> Cheers.
>>>>
>>>> -- 
>>>> Bruno Baptista
>>>> https://twitter.com/brunobat_
>>>>
>>>>

Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Hi folks,

Yesterday me and Roberto we dived into the parallel execution of tests 
with Arquillian.

Roberto had some experience with this and was aware of TOMEE-2176.

I was able to perform some parallel builds in the TCK projects. The full 
build has issues in the container that need to be researched.

Unfortunately, this work uncovered other deeper issues in the 
/RemoteServer/ class. The faster the computer, the slower the test run 
gets!!! There are collisions of some sort going on.

 1. We were writing STDOUT in the wrong forked JVM leading to
    exceptions. This might be fixed by don't inheriting the output. See PR.
 2. Now, sometimes the servers fail to start and be stopped I'm still
    figuring that out why.

Suggestions are welcome. Will be adding some additional debugging output 
and trying different things.

PR: https://github.com/apache/tomee/pull/268

Cheers

Bruno Baptista
https://twitter.com/brunobat_


On 10/12/18 23:05, Bruno Baptista wrote:
> Thanks!
>
> Bruno Baptista
> https://twitter.com/brunobat_
>
>
> On 10/12/18 22:51, Roberto Cortez wrote:
>> Done. Unfortunately, only committers can do it.
>>
>>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
>>>
>>> Hi folks,
>>>
>>> I've been researching why the full build is slow and I think I've 
>>> come up with a solution...
>>>
>>> Can someone please assign this jira to me? 
>>> https://issues.apache.org/jira/browse/TOMEE-2176
>>>
>>> If I can get assigning powers on jira would also be nice :)
>>>
>>> Cheers.
>>>
>>> -- 
>>> Bruno Baptista
>>> https://twitter.com/brunobat_
>>>
>>>

Re: Arquillian test cannot be run in parallel

Posted by Bruno Baptista <br...@gmail.com>.
Thanks!

Bruno Baptista
https://twitter.com/brunobat_


On 10/12/18 22:51, Roberto Cortez wrote:
> Done. Unfortunately, only committers can do it.
>
>> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
>>
>> Hi folks,
>>
>> I've been researching why the full build is slow and I think I've come up with a solution...
>>
>> Can someone please assign this jira to me? https://issues.apache.org/jira/browse/TOMEE-2176
>>
>> If I can get assigning powers on jira would also be nice :)
>>
>> Cheers.
>>
>> -- 
>> Bruno Baptista
>> https://twitter.com/brunobat_
>>
>>

Re: Arquillian test cannot be run in parallel

Posted by Roberto Cortez <ra...@yahoo.com.INVALID>.
Done. Unfortunately, only committers can do it.

> On 10 Dec 2018, at 20:58, Bruno Baptista <br...@gmail.com> wrote:
> 
> Hi folks,
> 
> I've been researching why the full build is slow and I think I've come up with a solution...
> 
> Can someone please assign this jira to me? https://issues.apache.org/jira/browse/TOMEE-2176
> 
> If I can get assigning powers on jira would also be nice :)
> 
> Cheers.
> 
> -- 
> Bruno Baptista
> https://twitter.com/brunobat_
> 
>