geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3441) Tomcat8SessionsClientServerDUnitTest uses default port
Date Tue, 03 Oct 2017 19:47:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-3441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190222#comment-16190222
] 

ASF subversion and git services commented on GEODE-3441:
--------------------------------------------------------

Commit 666b2b73ede8a3706ca6e8b459fa408ca0cd68a6 in geode's branch refs/heads/feature/GEODE-3604
from [~upthewaterspout]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=666b2b7 ]

GEODE-3441: Use random port in Tomcat8SessionsClientServerDUnitTest

Changing this test to use a random port for the geode server.


> Tomcat8SessionsClientServerDUnitTest uses default port
> ------------------------------------------------------
>
>                 Key: GEODE-3441
>                 URL: https://issues.apache.org/jira/browse/GEODE-3441
>             Project: Geode
>          Issue Type: Bug
>          Components: http session
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.3.0
>
>
> The Tomcat8SessionsClientServerDUnitTest client server test recently failed in jenkins.
It looks like there was already a geode server running on the default port.
> This test should use a random port for the cache server, not the default port.
> With revision 566ff6c70a91e052be558df80b76f2eef611c1c8, from build 922
> {noformat}
> org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest$$Lambda$57/1625836960.call
in VM 1 running on Host asf905.gq1.ygridcore.net with 4 VMs
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:387)
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:357)
> 	at org.apache.geode.test.dunit.VM.invoke(VM.java:325)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.setupServer(Tomcat8SessionsClientServerDUnitTest.java:60)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.postSetUp(Tomcat8SessionsClientServerDUnitTest.java:44)
> Caused by: java.net.BindException: Failed to create server socket on  null[40,404]
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:783)
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:745)
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:712)
> 	at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.<init>(AcceptorImpl.java:469)
> 	at org.apache.geode.internal.cache.CacheServerImpl.start(CacheServerImpl.java:344)
> 	at org.apache.geode.modules.session.Tomcat8SessionsClientServerDUnitTest.lambda$setupServer$f0fd67c5$1(Tomcat8SessionsClientServerDUnitTest.java:65)
> Caused by: java.net.BindException: Address already in use (Bind failed)
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
> 	at java.net.ServerSocket.bind(ServerSocket.java:375)
> 	at org.apache.geode.internal.net.SocketCreator.createServerSocket(SocketCreator.java:779)
> 	... 27 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message