Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-5394] Generic acceptor/connector is ignoring its socket-binding #8189

Merged

Conversation

jmesnil
Copy link
Member

@jmesnil jmesnil commented Sep 24, 2015

The socket-binding attribute of generic acceptor and connector must be
processed if it is defined in the model

JIRA: https://issues.jboss.org/browse/WFLY-5394

The socket-binding attribute of generic acceptor and connector must be
processed if it is defined in the model

JIRA: https://issues.jboss.org/browse/WFLY-5394
@wildfly-ci
Copy link

Linux Build 8317 outcome was FAILURE using a merge of 3f8cd07
Summary: Tests failed: 1 (1 new), passed: 3224, ignored: 371 Build time: 00:53:26

Failed tests

org.jboss.as.test.clustering.cluster.web.expiration.FineSessionExpirationTestCase(SYNC-tcp).test: java.lang.AssertionError: null
    at org.jboss.as.test.clustering.cluster.web.expiration.SessionExpirationTestCase.test(SessionExpirationTestCase.java:308)
------- Stdout: -------
12:12:57,603 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
12:12:57,604 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
12:12:57,604 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
 [0m12:12:57,629 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/data/content/43/64de2152ea58b871fa389b1e36e67836f5b5f0/content
 [0m [0m12:12:57,631 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "expiration.war" (runtime-name: "expiration.war")
 [0m [33m12:12:57,742 WARN  [org.jgroups.protocols.MPING] (MPING) node-0: discarding discovery request for cluster 'ee' from node-0; our cluster name is 'activemq-cluster'. Please separate your clusters properly
 [0m [33m12:12:57,743 WARN  [org.jgroups.protocols.MPING] (MPING) 669451f8-3d22-e730-0fed-c24936eea995: discarding discovery request for cluster 'ee' from 669451f8-3d22-e730-0fed-c24936eea995; our cluster name is 'activemq-cluster'. Please separate your clusters properly
 [0m [0m12:13:00,747 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 21) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:00,748 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 21) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:00,750 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 21) ISPN000078: Starting JGroups channel web
 [0m [0m12:13:00,751 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 21) ISPN000094: Received new cluster view for channel web: [node-0|0] (1) [node-0]
 [0m [0m12:13:00,751 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:00,751 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 21) ISPN000079: Channel web local address is node-0, physical addresses are [0:0:0:0:0:0:0:1:7601]
 [0m [0m12:13:00,751 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:00,765 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 21) WFLYCLINF0002: Started dist cache from web container
 [0m [0m12:13:00,781 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 79) WFLYCLINF0002: Started expiration.war cache from web container
 [0m [0m12:13:00,791 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: /expiration
 [0m [0m12:13:00,802 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "expiration.war" (runtime-name : "expiration.war")
 [0m12:13:00,810 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
 [0m12:13:00,819 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-1/standalone/data/content/5b/d61ddd2e3fc9c851aee452aba692d38fcf5628/content
 [0m [0m12:13:00,830 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "expiration.war" (runtime-name: "expiration.war")
 [0m [33m12:13:00,971 WARN  [org.jgroups.protocols.MPING] (MPING) 11a95721-0372-5a19-ae17-a16e524d6d0f: discarding discovery request for cluster 'ee' from 11a95721-0372-5a19-ae17-a16e524d6d0f; our cluster name is 'activemq-cluster'. Please separate your clusters properly
 [0m [33m12:13:00,975 WARN  [org.jgroups.protocols.MPING] (MPING) node-1: discarding discovery request for cluster 'ee' from node-1; our cluster name is 'activemq-cluster'. Please separate your clusters properly
 [0m [0m12:13:01,043 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-2,ee,node-0) ISPN000094: Received new cluster view for channel web: [node-0|1] (2) [node-0, node-1]
 [0m [0m12:13:01,083 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 81) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:01,083 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 81) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:01,085 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 35) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:01,086 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 35) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m12:13:01,088 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 35) ISPN000078: Starting JGroups channel web
 [0m [0m12:13:01,089 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 35) ISPN000094: Received new cluster view for channel web: [node-0|1] (2) [node-0, node-1]
 [0m [0m12:13:01,089 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 35) ISPN000079: Channel web local address is node-1, physical addresses are [0:0:0:0:0:0:0:1:7701]
 [0m [0m12:13:01,118 INFO  [org.infinispan.CLUSTER] (remote-thread--p66-t1) ISPN000310: Starting cluster-wide rebalance for cache dist, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
 [0m [0m12:13:01,150 INFO  [org.infinispan.CLUSTER] (remote-thread--p66-t1) ISPN000310: Starting cluster-wide rebalance for cache expiration.war, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
 [0m [0m12:13:01,228 INFO  [org.infinispan.CLUSTER] (remote-thread--p66-t2) ISPN000336: Finished cluster-wide rebalance for cache dist, topology id = 1
 [0m [0m12:13:01,235 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) WFLYCLINF0002: Started dist cache from web container
 [0m [0m12:13:01,252 INFO  [org.infinispan.CLUSTER] (remote-thread--p66-t2) ISPN000336: Finished cluster-wide rebalance for cache expiration.war, topology id = 1
 [0m [0m12:13:01,254 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 35) WFLYCLINF0002: Started expiration.war cache from web container
 [0m [0m12:13:01,267 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 35) WFLYUT0021: Registered web context: /expiration
 [0m [0m12:13:01,275 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "expiration.war" (runtime-name : "expiration.war")
 [0m [0m12:13:01,328 INFO  [stdout] (default task-26) http://[::1]:8080/expiration/listener?operation=set&name=a;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,364 INFO  [stdout] (default task-27) http://[::1]:8080/expiration/listener?operation=set&name=a&value=1;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,403 INFO  [stdout] (default task-23) http://[::1]:8180/expiration/listener?operation=get&name=a;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,412 INFO  [stdout] (default task-24) http://[::1]:8180/expiration/listener?operation=remove&name=b;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,421 INFO  [stdout] (default task-28) http://[::1]:8080/expiration/listener?operation=set&name=a&value=2;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,432 INFO  [stdout] (default task-25) http://[::1]:8180/expiration/listener?operation=get&name=a;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,442 INFO  [stdout] (default task-29) http://[::1]:8080/expiration/listener?operation=set&name=a;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,447 INFO  [stdout] (default task-26) http://[::1]:8180/expiration/listener?operation=get&name=a;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK
 [0m [0m12:13:01,453 INFO  [stdout] (default task-30) http://[::1]:8080/expiration/listener?operation=set&name=a&value=3&value=4;jsessionid=fvjbXJhwsxDoiY9R4L_Mmtnj42_-eRBiE3aebWoK


@wildfly-ci
Copy link

Windows Build 3353 outcome was FAILURE using a merge of 3f8cd07
Summary: Tests failed: 1 (1 new), passed: 3224, ignored: 371 Build time: 00:55:49

Failed tests

org.jboss.as.test.clustering.cluster.singleton.SingletonServiceTestCase(SYNC-tcp).testSingletonService: org.apache.http.conn.HttpHostConnectException: Connect to [::1]:8080 [/0:0:0:0:0:0:0:1] failed: Connection refused: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    at org.jboss.as.test.clustering.cluster.singleton.SingletonServiceTestCase.testSingletonService(SingletonServiceTestCase.java:219)
------- Stdout: -------
12:20:29,058 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
12:20:29,061 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
12:20:29,064 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
12:20:29,074 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-0\standalone\data\content\c2\e4ee651ed46fe5a1c102c276c7bf8989cfa80c\content
12:20:29,076 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "singleton.war" (runtime-name: "singleton.war")
12:20:29,102 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.singleton.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
12:20:29,139 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 81) WFLYUT0021: Registered web context: /singleton
12:20:29,243 WARN  [org.jgroups.protocols.MPING] (MPING) node-0: discarding discovery request for cluster 'ee' from node-0; our cluster name is 'activemq-cluster'. Please separate your clusters properly
12:20:29,243 WARN  [org.jgroups.protocols.MPING] (MPING) e7f9bc4f-291b-f81f-0b20-24b6a3e45ce9: discarding discovery request for cluster 'ee' from e7f9bc4f-291b-f81f-0b20-24b6a3e45ce9; our cluster name is 'activemq-cluster'. Please separate your clusters properly
12:20:32,278 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 81) ISPN000078: Starting JGroups channel server
12:20:32,279 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 81) ISPN000094: Received new cluster view for channel server: [node-0|0] (1) [node-0]
12:20:32,279 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 81) ISPN000079: Channel server local address is node-0, physical addresses are [0:0:0:0:0:0:0:1:7601]
12:20:32,286 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) WFLYCLINF0002: Started default cache from server container
12:20:32,295 ERROR [org.wildfly.clustering.server] (notification-thread--p105-t1) WFLYCLSV0006: Failed to reach quorum of 2 for jboss.test.myservice.quorum service. No singleton master will be elected.
12:20:32,298 INFO  [org.wildfly.clustering.server] (notification-thread--p105-t1) WFLYCLSV0003: node-0 elected as the singleton provider of the jboss.test.myservice.default service
12:20:32,300 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "singleton.war" (runtime-name : "singleton.war")
12:20:32,305 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
12:20:32,315 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location C:\BuildAgent\work\a31d203e70e89f90\testsuite\integration\clustering\target\wildfly-SYNC-tcp-1\standalone\data\content\48\44f79ea5b04e11136bd1844cb5ebcebcfa8dc1\content
12:20:32,317 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "singleton.war" (runtime-name: "singleton.war")
12:20:32,344 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.singleton.war" is using a private module ("org.jboss.as.server:main") which may be changed or removed in future versions without notice.
12:20:32,400 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 6) WFLYUT0021: Registered web context: /singleton
12:20:32,505 WARN  [org.jgroups.protocols.MPING] (MPING) node-1: discarding discovery request for cluster 'ee' from node-1; our cluster name is 'activemq-cluster'. Please separate your clusters properly
12:20:32,505 WARN  [org.jgroups.protocols.MPING] (MPING) node-1: discarding discovery request for cluster 'ee' from node-1; our cluster name is 'activemq-cluster'. Please separate your clusters properly
12:20:32,563 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (Incoming-2,ee,node-0) ISPN000094: Received new cluster view for channel server: [node-0|1] (2) [node-0, node-1]
12:20:32,602 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 6) ISPN000078: Starting JGroups channel server
12:20:32,603 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 6) ISPN000094: Received new cluster view for channel server: [node-0|1] (2) [node-0, node-1]
12:20:32,603 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 6) ISPN000079: Channel server local address is node-1, physical addresses are [0:0:0:0:0:0:0:1:7701]
12:20:32,614 INFO  [org.infinispan.CLUSTER] (remote-thread--p106-t1) ISPN000310: Starting cluster-wide rebalance for cache default, topology CacheTopology{id=1, rebalanceId=1, currentCH=ReplicatedConsistentHash{ns = 60, owners = (1)[node-0: 60]}, pendingCH=ReplicatedConsistentHash{ns = 60, owners = (2)[node-0: 30, node-1: 30]}, unionCH=null, actualMembers=[node-0, node-1]}
12:20:32,626 INFO  [org.infinispan.CLUSTER] (remote-thread--p106-t1) ISPN000336: Finished cluster-wide rebalance for cache default, topology id = 1


@jmesnil
Copy link
Member Author

jmesnil commented Sep 24, 2015

retest this please

n1hility added a commit that referenced this pull request Sep 24, 2015
…et-binding

[WFLY-5394] Generic acceptor/connector is ignoring its socket-binding
@n1hility n1hility merged commit 7099194 into wildfly:master Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants