You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Olivier Lemasle <ol...@apalia.net> on 2019/05/21 16:01:57 UTC

Re: Compiling 4.11.2.0 from source with test failure

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

On Tue, Feb 12, 2019 at 7:06 PM Yiping Zhang <yz...@marketo.com> 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 60000
> 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 60000
> 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>
<ol...@apalia.net>olivier.lemasle@apalia.net
<ol...@apalia.net>*

Re: Compiling 4.11.2.0 from source with test failure

Posted by Rohit Yadav <ro...@shapeblue.com>.
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 <ol...@apalia.net>
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.yadav@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

On Tue, Feb 12, 2019 at 7:06 PM Yiping Zhang <yz...@marketo.com> 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 60000
> 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 60000
> 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>
<ol...@apalia.net>olivier.lemasle@apalia.net
<ol...@apalia.net>*