You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Santhosh Edukulla <sa...@citrix.com> on 2013/12/31 15:24:53 UTC

console proxy rdp client test fails

1. Despite stopping iptables service, i still get this error. Tried with latest 4.3 branch.

2. Iam running rhel 6.2 on my laptop. I believe somebody else as well mentioned about these test failures. I am skipping tests to overcome this always currently.

[INFO] Apache CloudStack Console Proxy - RDP Client ...... FAILURE [45.675s]
[INFO] Apache CloudStack Console Proxy ................... SKIPPED
[INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED
[INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED
[INFO] Apache CloudStack Developer Mode .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5:54.541s
[INFO] Finished at: Wed Jan 01 01:09:54 IST 2014
[INFO] Final Memory: 71M/406M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project cloudstack-service-console-proxy-rdpclient: There are test failures.
[ERROR] 
[ERROR] Please refer to /root/softwares/cscode/services/console-proxy-rdp/rdpconsole/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloudstack-service-console-proxy-rdpclient

Thanks!
Santhosh
________________________________________
From: Santhosh Edukulla
Sent: Tuesday, November 19, 2013 6:15 AM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

Actually i tried couple of times after the error and it persisted. On the same machine building 4.2 latest works fine, I "assume"( didnt verified ) these tests are also part of that branch as well. Going by the error message it seems that there is no route to connect some thing. Seeing the test code, it seems connect operation is failing or  server.getAddress() is returning none.

I have some iptables rules configured, is that the issue? I will stop this service totally and run one more time.

Regards,
Santhosh
________________________________________
From: Rajesh Battala [rajesh.battala@citrix.com]
Sent: Tuesday, November 19, 2013 6:00 AM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

Hi Santosh,
I had tried building on latest master. Tests were passed without any issues.
Jenkins job also passed building master.

Thanks
Rajesh Battala

-----Original Message-----
From: Santhosh Edukulla [mailto:santhosh.edukulla@citrix.com]
Sent: Tuesday, November 19, 2013 12:50 PM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

-----------------------------------------------------------------------------
Test set: rdpclient.MockServerTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.022 sec <<< FAILURE!
testIsMockServerCanRespond(rdpclient.MockServerTest)  Time elapsed: 3.024 sec  <<< ERROR!
java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)
        at rdpclient.MockServerTest.testIsMockServerCanRespond(MockServerTest.java:60)
testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)  Time elapsed: 2.991 sec  <<< ERROR!
java.net.NoRouteToHostException: No route to host
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)
        at rdpclient.MockServerTest.testIsMockServerCanUpgradeConnectionToSsl(MockServerTest.java:130)


Santhosh
________________________________________
From: Laszlo Hornyak [laszlo.hornyak@gmail.com]
Sent: Monday, November 18, 2013 3:17 PM
To: dev@cloudstack.apache.org
Subject: Re: Build with master fails

Hi,

There is only one test in the rdpconsole, it was added recentlyand it was working last time... Can you share the text file from /root/softwares/csmaster/ cloudstack/services/console-proxy-rdp/rdpconsole/target/surefire-reports?


Thx,
Laszlo

On Mon, Nov 18, 2013 at 2:53 PM, Santhosh Edukulla < santhosh.edukulla@citrix.com> wrote:

> Team,
>
> 1. I am getting below error when build with latest master. Skipping
> tests is proceeding to make the build success.
>
>
> [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 8:50.043s
> [INFO] Finished at: Tue Nov 19 00:48:01 IST 2013 [INFO] Final Memory:
> 66M/414M [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project cloudstack-service-console-proxy-rdpclient: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /root/softwares/csmaster/cloudstack/services/console-proxy-rdp/rdpcons
> ole/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 1]
>
> 2.After that it throws up strange error on UI, when clicked on
> "infrastructure." and as well some other  nodes with some UUID
> information on dialog.
>
>
> Thanks!
> Santhosh




--

EOF