Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10581

ReconnectSyslogServerTestCase and SyslogIsNotAvailableDuringServerBootTestCase always fails with 300 timeout factor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.1.0.DR17
    • Logging, Test Suite
    • None

      Description of problem:
      ReconnectSyslogServerTestCase and SyslogIsNotAvailableDuringServerBootTestCase always fails with 300 timeout factor. This issue is not valid, if timeout factor is 100, 200 or 400.

      How reproducible:
      Always, easy to reproduce on Fedora/RHEL

      Steps to Reproduce:

      1. mvn install -B -fae -DfailIfNoTests=false -llr -Dts.timeout.factor=300 -Dtimeout.factor=300 -Dts.manualmode -Dtest=ReconnectSyslogServerTestCase
      2. mvn install -B -fae -DfailIfNoTests=false -llr -Dts.timeout.factor=300 -Dtimeout.factor=300 -Dts.manualmode -Dtest=SyslogIsNotAvailableDuringServerBootTestCase

      Actual results:
      ReconnectSyslogServerTestCase

      • StackTrace:
        java.lang.AssertionError: No message was logged into the TCP syslog after first syslog server restart
        	at org.junit.Assert.fail(Assert.java:88)
        	at org.junit.Assert.assertTrue(Assert.java:41)
        	at org.junit.Assert.assertNotNull(Assert.java:712)
        	at org.jboss.as.test.manualmode.logging.ReconnectSyslogServerTestCase.testReconnectSyslogServer(ReconnectSyslogServerTestCase.java:108)
        
      • Standard output:
        09:34:49,561 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/tools/java/jre/bin/java -D[Standalone] -javaagent:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar=port:17091,address:127.0.0.1,boot:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar,sys:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/shared/target/wildfly-core-testsuite-shared-3.0.0.Beta16-redhat-1.jar -Dorg.jboss.byteman.transform.all -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository -Xmx512m -XX:MetaspaceSize=128m -Djboss.dist=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -server -Dts.timeout.factor=300 -Djbossas.ts.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode -ea -Dorg.jboss.boot.log.file=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log/server.log -Dlogging.configuration=file:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/logging.properties -jar /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/jboss-modules.jar -mp /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/modules org.jboss.as.standalone -Djboss.home.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djboss.server.base.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone -Djboss.server.log.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log -Djboss.server.config.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration -c=standalone.xml -bmanagement=127.0.0.1 -Djboss.http.port=8080 -Djboss.bind.address=127.0.0.1 
        09:34:49,642 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.0.Beta20-redhat-1
        TransformListener() : accepting requests on 127.0.0.1:17091
        09:34:49,672 INFO  [org.xnio] (main) XNIO version 3.5.0.Beta5-redhat-1
        09:34:49,689 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.0.Beta5-redhat-1
        09:34:49,891 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.0.Beta38-redhat-1
        &amp#27;[0m09:34:50,381 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta6-redhat-1
        &amp#27;[0m&amp#27;[0m09:34:50,808 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
        &amp#27;[0m&amp#27;[0m09:34:50,985 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" starting
        &amp#27;[0m&amp#27;[0m09:34:51,590 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
        &amp#27;[0m&amp#27;[0m09:34:51,636 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
        &amp#27;[0m&amp#27;[0m09:34:51,661 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:34:51,673 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:34:51,800 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly cumulative patch ID is: base, one-off patches include: none
        &amp#27;[0m&amp#27;[0m09:34:51,803 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.0.Beta20-redhat-1
        &amp#27;[0m&amp#27;[33m09:34:51,824 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
        &amp#27;[0m&amp#27;[33m09:34:51,951 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-4) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
        &amp#27;[0m&amp#27;[0m09:34:52,101 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
        &amp#27;[0m&amp#27;[0m09:34:52,110 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
        &amp#27;[0m&amp#27;[0m09:34:52,110 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
        &amp#27;[0m&amp#27;[0m09:34:52,111 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" started in 2413ms - Started 60 of 63 services (20 services are lazy, passive or on-demand)
        &amp#27;[0m&amp#27;[0m09:34:52,544 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/data/content/f6/5756b72f9b96d5862de12c15f26fd8b1f6fd53/content
        &amp#27;[0m&amp#27;[0m09:34:52,575 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "logging-test.jar" (runtime-name: "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:34:52,649 INFO  [org.wildfly.test.undertow.UndertowService] (MSC service thread 1-4) Started Undertow on 127.0.0.1:8080
        &amp#27;[0m&amp#27;[0m09:34:52,683 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "logging-test.jar" (runtime-name : "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:11,321 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0m09:35:11,839 WARN  [org.jboss.as.test.syslogserver.UDPSyslogServer] (SyslogServer: udp) SocketException occurred: java.net.SocketException: Socket closed
        	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        	at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
        	at java.net.DatagramSocket.receive(DatagramSocket.java:812)
        	at org.jboss.as.test.syslogserver.UDPSyslogServer.run(UDPSyslogServer.java:62)
        	at java.lang.Thread.run(Thread.java:745)
        
        09:35:12,339 ERROR [org.jboss.as.test.syslogserver.TCPSyslogServer] (SyslogServer: tcp) IOException occurred.: java.net.SocketException: Socket closed
        	at java.net.PlainSocketImpl.socketAccept(Native Method)
        	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        	at java.net.ServerSocket.implAccept(ServerSocket.java:545)
        	at java.net.ServerSocket.accept(ServerSocket.java:513)
        	at org.jboss.as.test.syslogserver.TCPSyslogServer.run(TCPSyslogServer.java:55)
        	at java.lang.Thread.run(Thread.java:745)
        
        09:35:12,341 WARN  [org.jboss.as.test.syslogserver.TCPSyslogSocketHandler] (Thread-6) IOException occurred: java.net.SocketException: Socket closed
        	at java.net.SocketInputStream.socketRead0(Native Method)
        	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        	at java.net.SocketInputStream.read(SocketInputStream.java:171)
        	at java.net.SocketInputStream.read(SocketInputStream.java:141)
        	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        	at org.jboss.as.test.syslogserver.TCPSyslogSocketHandler.run(TCPSyslogSocketHandler.java:73)
        	at java.lang.Thread.run(Thread.java:745)
        
        &amp#27;[0m09:35:15,343 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0mLogManager error of type WRITE_FAILURE: Error writing to TCP stream
        java.net.SocketException: Broken pipe (Write failed)
        	at java.net.SocketOutputStream.socketWrite0(Native Method)
        	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
        	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
        	at org.jboss.logmanager.handlers.TcpOutputStream.write(TcpOutputStream.java:182)
        	at org.jboss.logmanager.handlers.TcpOutputStream.write(TcpOutputStream.java:173)
        	at org.jboss.logmanager.handlers.SyslogHandler.sendMessage(SyslogHandler.java:579)
        	at org.jboss.logmanager.handlers.SyslogHandler.doPublish(SyslogHandler.java:540)
        	at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:77)
        	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:314)
        	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:322)
        	at org.jboss.logmanager.Logger.logRaw(Logger.java:850)
        	at org.jboss.logmanager.Logger.log(Logger.java:802)
        	at org.jboss.logmanager.Logger.log(Logger.java:814)
        	at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:42)
        	at org.jboss.logging.Logger.info(Logger.java:955)
        	at org.jboss.as.test.manualmode.logging.LoggingServiceActivator$1.handleRequest(LoggingServiceActivator.java:50)
        	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211)
        	at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:244)
        	at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:135)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
        	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
        	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
        	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        	at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:130)
        	at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:588)
        	at org.xnio.nio.WorkerThread.run(WorkerThread.java:468)
        &amp#27;[0m09:35:15,347 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0m&amp#27;[0m09:35:39,354 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0m09:35:54,943 WARN  [org.jboss.as.test.syslogserver.UDPSyslogServer] (SyslogServer: udp) SocketException occurred: java.net.SocketException: Socket closed
        	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        	at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
        	at java.net.DatagramSocket.receive(DatagramSocket.java:812)
        	at org.jboss.as.test.syslogserver.UDPSyslogServer.run(UDPSyslogServer.java:62)
        	at java.lang.Thread.run(Thread.java:745)
        
        09:35:55,443 ERROR [org.jboss.as.test.syslogserver.TCPSyslogServer] (SyslogServer: tcp) IOException occurred.: java.net.SocketException: Socket closed
        	at java.net.PlainSocketImpl.socketAccept(Native Method)
        	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        	at java.net.ServerSocket.implAccept(ServerSocket.java:545)
        	at java.net.ServerSocket.accept(ServerSocket.java:513)
        	at org.jboss.as.test.syslogserver.TCPSyslogServer.run(TCPSyslogServer.java:55)
        	at java.lang.Thread.run(Thread.java:745)
        
        &amp#27;[0m09:35:58,458 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment logging-test.jar (runtime-name: logging-test.jar) in 6ms
        &amp#27;[0m&amp#27;[0m09:35:58,468 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0002: Content removed from location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/data/content/f6/5756b72f9b96d5862de12c15f26fd8b1f6fd53/content
        &amp#27;[0m&amp#27;[0m09:35:58,471 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0009: Undeployed "logging-test.jar" (runtime-name: "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:58,494 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0236: Suspending server with no timeout.
        &amp#27;[0m&amp#27;[0m09:35:58,499 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
        &amp#27;[0m&amp#27;[0m09:35:58,567 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" stopped in 59ms
        &amp#27;[0m
        

      SyslogIsNotAvailableDuringServerBootTestCase

      • StackTrace:
        java.lang.AssertionError: No message was logged into the TCP syslog
        	at org.junit.Assert.fail(Assert.java:88)
        	at org.junit.Assert.assertTrue(Assert.java:41)
        	at org.junit.Assert.assertNotNull(Assert.java:712)
        	at org.jboss.as.test.manualmode.logging.SyslogIsNotAvailableDuringServerBootTestCase.testSyslogIsNotAvailableDuringServerBoot(SyslogIsNotAvailableDuringServerBootTestCase.java:104)
        
      • Standard output:
        09:34:59,141 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/tools/java/jre/bin/java -D[Standalone] -javaagent:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar=port:17091,address:127.0.0.1,boot:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar,sys:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/shared/target/wildfly-core-testsuite-shared-3.0.0.Beta16-redhat-1.jar -Dorg.jboss.byteman.transform.all -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository -Xmx512m -XX:MetaspaceSize=128m -Djboss.dist=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -server -Dts.timeout.factor=300 -Djbossas.ts.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode -ea -Dorg.jboss.boot.log.file=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log/server.log -Dlogging.configuration=file:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/logging.properties -jar /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/jboss-modules.jar -mp /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/modules org.jboss.as.standalone -Djboss.home.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djboss.server.base.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone -Djboss.server.log.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log -Djboss.server.config.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration -c=standalone.xml -bmanagement=127.0.0.1 -Djboss.http.port=8080 -Djboss.bind.address=127.0.0.1 
        09:34:59,194 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.0.Beta20-redhat-1
        09:34:59,226 INFO  [org.xnio] (main) XNIO version 3.5.0.Beta5-redhat-1
        09:34:59,244 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.0.Beta5-redhat-1
        TransformListener() : accepting requests on 127.0.0.1:17091
        09:34:59,382 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.0.Beta38-redhat-1
        &amp#27;[0m09:35:00,005 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta6-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:00,320 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:00,470 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" starting
        &amp#27;[0m&amp#27;[0m09:35:01,109 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
        &amp#27;[0m&amp#27;[0m09:35:01,155 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
        &amp#27;[0m&amp#27;[0m09:35:01,211 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:01,221 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:01,282 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.0.Beta20-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:01,357 INFO  [org.jboss.as.patching] (MSC service thread 1-4) WFLYPAT0050: WildFly cumulative patch ID is: base, one-off patches include: none
        &amp#27;[0m&amp#27;[33m09:35:01,377 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
        &amp#27;[0m&amp#27;[33m09:35:01,475 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-3) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
        &amp#27;[0m&amp#27;[0m09:35:01,702 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
        &amp#27;[0m&amp#27;[0m09:35:01,710 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
        &amp#27;[0m&amp#27;[0m09:35:01,710 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
        &amp#27;[0m&amp#27;[0m09:35:01,710 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" started in 2334ms - Started 60 of 63 services (20 services are lazy, passive or on-demand)
        &amp#27;[0m&amp#27;[0m09:35:02,169 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/data/content/ef/18761d6b44c34237b0e341875ab659fd43c484/content
        &amp#27;[0m&amp#27;[0m09:35:02,189 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "logging-test.jar" (runtime-name: "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:02,265 INFO  [org.wildfly.test.undertow.UndertowService] (MSC service thread 1-3) Started Undertow on 127.0.0.1:8080
        &amp#27;[0m&amp#27;[0m09:35:02,298 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "logging-test.jar" (runtime-name : "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:02,970 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0236: Suspending server with no timeout.
        &amp#27;[0m&amp#27;[0m09:35:02,987 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
        &amp#27;[0m&amp#27;[0m09:35:03,026 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment logging-test.jar (runtime-name: logging-test.jar) in 13ms
        &amp#27;[0m&amp#27;[0m09:35:03,064 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" stopped in 51ms
        &amp#27;[0m09:35:03,417 INFO  [org.wildfly.core.testrunner.Server] (main) Starting container with: /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/tools/java/jre/bin/java -D[Standalone] -javaagent:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar=port:17091,address:127.0.0.1,boot:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository/org/jboss/byteman/byteman/3.0.6/byteman-3.0.6.jar,sys:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/shared/target/wildfly-core-testsuite-shared-3.0.0.Beta16-redhat-1.jar -Dorg.jboss.byteman.transform.all -Dorg.jboss.byteman.verbose=true -Dmaven.repo.local=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/eap-local-maven-repository -Xmx512m -XX:MetaspaceSize=128m -Djboss.dist=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -server -Dts.timeout.factor=300 -Djbossas.ts.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode -ea -Dorg.jboss.boot.log.file=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log/server.log -Dlogging.configuration=file:/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/logging.properties -jar /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/jboss-modules.jar -mp /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/modules org.jboss.as.standalone -Djboss.home.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core -Djboss.server.base.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone -Djboss.server.log.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/log -Djboss.server.config.dir=/mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration -c=standalone.xml -bmanagement=127.0.0.1 -Djboss.http.port=8080 -Djboss.bind.address=127.0.0.1 
        TransformListener() : accepting requests on 127.0.0.1:17091
        &amp#27;[0m09:35:03,986 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta6-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:04,334 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:04,473 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" starting
        &amp#27;[0m&amp#27;[0m09:35:05,133 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
        &amp#27;[0m&amp#27;[0m09:35:05,186 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
        &amp#27;[0m&amp#27;[0m09:35:05,263 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:05,269 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.5.0.Beta5-redhat-1
        &amp#27;[0m&amp#27;[0m09:35:05,331 INFO  [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: WildFly cumulative patch ID is: base, one-off patches include: none
        &amp#27;[0m&amp#27;[33m09:35:05,361 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
        &amp#27;[0m&amp#27;[0m09:35:05,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "logging-test.jar" (runtime-name: "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:05,460 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 5.0.0.Beta20-redhat-1
        &amp#27;[0m&amp#27;[33m09:35:05,565 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-2) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
        &amp#27;[0m&amp#27;[0m09:35:05,620 INFO  [org.wildfly.test.undertow.UndertowService] (MSC service thread 1-3) Started Undertow on 127.0.0.1:8080
        &amp#27;[0m&amp#27;[0m09:35:05,652 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "logging-test.jar" (runtime-name : "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:05,696 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
        &amp#27;[0m&amp#27;[0m09:35:05,698 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
        &amp#27;[0m&amp#27;[0m09:35:05,699 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
        &amp#27;[0m&amp#27;[0m09:35:05,699 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" started in 2164ms - Started 78 of 81 services (22 services are lazy, passive or on-demand)
        &amp#27;[0m&amp#27;[0m09:35:05,886 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0mLogManager error of type WRITE_FAILURE: Could not write to syslog
        java.net.PortUnreachableException: ICMP Port Unreachable
        	at java.net.PlainDatagramSocketImpl.send(Native Method)
        	at java.net.DatagramSocket.send(DatagramSocket.java:693)
        	at org.jboss.logmanager.handlers.UdpOutputStream.write(UdpOutputStream.java:52)
        	at org.jboss.logmanager.handlers.SyslogHandler.sendMessage(SyslogHandler.java:579)
        	at org.jboss.logmanager.handlers.SyslogHandler.doPublish(SyslogHandler.java:540)
        	at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:77)
        	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:314)
        	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:322)
        	at org.jboss.logmanager.Logger.logRaw(Logger.java:850)
        	at org.jboss.logmanager.Logger.log(Logger.java:802)
        	at org.jboss.logmanager.Logger.log(Logger.java:814)
        	at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:42)
        	at org.jboss.logging.Logger.info(Logger.java:955)
        	at org.jboss.as.test.manualmode.logging.LoggingServiceActivator$1.handleRequest(LoggingServiceActivator.java:50)
        	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211)
        	at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:244)
        	at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:135)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:148)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
        	at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
        	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
        	at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
        	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        	at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:130)
        	at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:588)
        	at org.xnio.nio.WorkerThread.run(WorkerThread.java:468)
        &amp#27;[0m09:35:05,905 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0m&amp#27;[0m09:35:29,921 INFO  [org.jboss.as.test.manualmode.logging.LoggingServiceActivator] (XNIO-1 I/O-1) someLogMessage
        &amp#27;[0m09:35:45,430 WARN  [org.jboss.as.test.syslogserver.UDPSyslogServer] (SyslogServer: udp) SocketException occurred: java.net.SocketException: Socket closed
        	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        	at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
        	at java.net.DatagramSocket.receive(DatagramSocket.java:812)
        	at org.jboss.as.test.syslogserver.UDPSyslogServer.run(UDPSyslogServer.java:62)
        	at java.lang.Thread.run(Thread.java:745)
        
        09:35:45,930 ERROR [org.jboss.as.test.syslogserver.TCPSyslogServer] (SyslogServer: tcp) IOException occurred.: java.net.SocketException: Socket closed
        	at java.net.PlainSocketImpl.socketAccept(Native Method)
        	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
        	at java.net.ServerSocket.implAccept(ServerSocket.java:545)
        	at java.net.ServerSocket.accept(ServerSocket.java:513)
        	at org.jboss.as.test.syslogserver.TCPSyslogServer.run(TCPSyslogServer.java:55)
        	at java.lang.Thread.run(Thread.java:745)
        
        09:35:45,932 WARN  [org.jboss.as.test.syslogserver.TCPSyslogSocketHandler] (Thread-9) IOException occurred: java.net.SocketException: Socket closed
        	at java.net.SocketInputStream.socketRead0(Native Method)
        	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
        	at java.net.SocketInputStream.read(SocketInputStream.java:171)
        	at java.net.SocketInputStream.read(SocketInputStream.java:141)
        	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        	at org.jboss.as.test.syslogserver.TCPSyslogSocketHandler.run(TCPSyslogSocketHandler.java:73)
        	at java.lang.Thread.run(Thread.java:745)
        
        &amp#27;[0m09:35:49,097 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment logging-test.jar (runtime-name: logging-test.jar) in 40ms
        &amp#27;[0m&amp#27;[0m09:35:49,115 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0002: Content removed from location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-core-rhel-syslog1/8705f2c1/testsuite/manualmode/target/wildfly-core/standalone/data/content/ef/18761d6b44c34237b0e341875ab659fd43c484/content
        &amp#27;[0m&amp#27;[0m09:35:49,115 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0009: Undeployed "logging-test.jar" (runtime-name: "logging-test.jar")
        &amp#27;[0m&amp#27;[0m09:35:49,129 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0236: Suspending server with no timeout.
        &amp#27;[0m&amp#27;[0m09:35:49,148 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
        &amp#27;[0m&amp#27;[0m09:35:49,210 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Core 3.0.0.Beta16-redhat-1 "Kenny" stopped in 55ms
        &amp#27;[0m
        

      Expected results:
      No errors

              olukas Ondrej Lukas (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: