Re: Compiling 4.11.2.0 from source with test failure

2019-05-21 Thread Rohit Yadav
Olivier,

You can exclude that test in pom.xml which likely is failing due to your local 
environment issue. Not recommended but you may also build by skipping unit 
tests using - DskipTests=true on mvn.

Regards.

Regards,
Rohit Yadav


From: Olivier Lemasle 
Sent: Tuesday, May 21, 2019 9:31:57 PM
To: dev@cloudstack.apache.org
Subject: Re: Compiling 4.11.2.0 from source with test failure

Same error for me. Did you found the cause of this test error?


rohit.ya...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

On Tue, Feb 12, 2019 at 7:06 PM Yiping Zhang  wrote:

>
>
> Hi, all:
>
>
>
> I am trying to compile CloudStack from the source using 4.11.2.0 branch.
> The build fails with one test failure in NioTest.java. How can I fix this
> error?
>
>
>
>
>
> 2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Clients
> stopped.
>
> 2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Server
> stopped.
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.106 sec
> <<< FAILURE! - in com.cloud.utils.testcase.NioTest
>
> testConnection(com.cloud.utils.testcase.NioTest)  Time elapsed: 60.103
> sec  <<< ERROR!
>
> org.junit.runners.model.TestTimedOutException: test timed out after 6
> milliseconds
>
> at java.lang.Thread.sleep(Native Method)
>
> at
> com.cloud.utils.testcase.NioTest.testConnection(NioTest.java:145)
>
>
>
>
>
> (skip lots of output here)
>
>
>
>
>
> Results :
>
>
>
> Tests in error:
>
>   NioTest.testConnection:145 ? TestTimedOut test timed out after 6
> milliseco...
>
>
>
> Tests run: 300, Failures: 0, Errors: 1, Skipped: 1
>
>
> Thanks,
>
> Yiping
>


--
Olivier Lemasle
Ingénieur Logiciel
*Apalia*™
Mobile: +33-611-69-12-11

*http://www.apalia.net <http://www.apalia.net>
olivier.lema...@apalia.net
*


Re: Compiling 4.11.2.0 from source with test failure

2019-05-21 Thread Olivier Lemasle
Same error for me. Did you found the cause of this test error?

On Tue, Feb 12, 2019 at 7:06 PM Yiping Zhang  wrote:

>
>
> Hi, all:
>
>
>
> I am trying to compile CloudStack from the source using 4.11.2.0 branch.
> The build fails with one test failure in NioTest.java. How can I fix this
> error?
>
>
>
>
>
> 2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Clients
> stopped.
>
> 2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Server
> stopped.
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.106 sec
> <<< FAILURE! - in com.cloud.utils.testcase.NioTest
>
> testConnection(com.cloud.utils.testcase.NioTest)  Time elapsed: 60.103
> sec  <<< ERROR!
>
> org.junit.runners.model.TestTimedOutException: test timed out after 6
> milliseconds
>
> at java.lang.Thread.sleep(Native Method)
>
> at
> com.cloud.utils.testcase.NioTest.testConnection(NioTest.java:145)
>
>
>
>
>
> (skip lots of output here)
>
>
>
>
>
> Results :
>
>
>
> Tests in error:
>
>   NioTest.testConnection:145 ? TestTimedOut test timed out after 6
> milliseco...
>
>
>
> Tests run: 300, Failures: 0, Errors: 1, Skipped: 1
>
>
> Thanks,
>
> Yiping
>


-- 
Olivier Lemasle
Ingénieur Logiciel
*Apalia*™
Mobile: +33-611-69-12-11

*http://www.apalia.net 
olivier.lema...@apalia.net
*


Compiling 4.11.2.0 from source with test failure

2019-02-12 Thread Yiping Zhang


Hi, all:



I am trying to compile CloudStack from the source using 4.11.2.0 branch. The 
build fails with one test failure in NioTest.java. How can I fix this error?





2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Clients stopped.

2019-02-12 11:07:47,541 INFO  [utils.testcase.NioTest] (main:) Server stopped.

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 60.106 sec <<< 
FAILURE! - in com.cloud.utils.testcase.NioTest

testConnection(com.cloud.utils.testcase.NioTest)  Time elapsed: 60.103 sec  <<< 
ERROR!

org.junit.runners.model.TestTimedOutException: test timed out after 6 
milliseconds

at java.lang.Thread.sleep(Native Method)

at com.cloud.utils.testcase.NioTest.testConnection(NioTest.java:145)





(skip lots of output here)





Results :



Tests in error:

  NioTest.testConnection:145 ? TestTimedOut test timed out after 6 
milliseco...



Tests run: 300, Failures: 0, Errors: 1, Skipped: 1


Thanks,

Yiping