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

(8.1.z) RESTEasy SSE: Fail to reconnect error on RHEL-10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 8.1.0.GA-CR10
    • REST, Test Suite
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Run org.jboss.resteasy.test.providers.sse.SseTest.testReconnect on RHEL10

      Show
      Run org.jboss.resteasy.test.providers.sse.SseTest.testReconnect on RHEL10

      When running test org.jboss.resteasy.test.providers.sse.SseTest#testReconnect (version 6.2.12.Final) on RHEL-10, we get the following error:

      org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
      	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
      	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
      	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
      	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
      	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
      	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
      	at org.jboss.resteasy.test.providers.sse.SseTest.testReconnect(SseTest.java:260)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.junit5.ArquillianExtension$1.invoke(ArquillianExtension.java:187)
      	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:58)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:106)
      	at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)
      	at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:50)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)
      	at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:128)
      	at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:118)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
      	at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)
      	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)
      	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
      	at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:139)
      	at org.jboss.arquillian.junit5.ArquillianExtension.interceptInvocation(ArquillianExtension.java:167)
      	at org.jboss.arquillian.junit5.ArquillianExtension.interceptTestMethod(ArquillianExtension.java:107)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
      

      and, correspondingly, we observe the following error in the server logs:

      [0m13:02:37,884 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /home/hudson/hudson_workspace/workspace/eap-8.x-resteasy-functional-ts-rhel/01135c3f/resteasy/testsuite/integration-tests/target/jbossas-managed/data/content/fd/fcf8e471961c42c176a189b69957cd3fd526d4/content
      13:02:37,886 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "SseTest.war" (runtime-name: "SseTest.war")
      13:02:38,068 WARN  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0013: Deployment SseTest.war contains Jakarta Contexts and Dependency Injection annotations but no bean archive was found (no beans.xml or class with bean defining annotations was present).
      13:02:38,077 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 97) WFLYUT0021: Registered web context: '/SseTest' for server 'default-server'
      13:02:38,089 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "SseTest.war" (runtime-name : "SseTest.war")
      13:02:38,107 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002225: Deploying jakarta.ws.rs.core.Application: class org.jboss.resteasy.test.providers.sse.SseApplication
      13:02:38,108 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002220: Adding singleton resource org.jboss.resteasy.test.providers.sse.AnotherSseResource from Application class org.jboss.resteasy.test.providers.sse.SseApplication
      13:02:38,108 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002220: Adding singleton resource org.jboss.resteasy.test.providers.sse.EscapingSseResource from Application class org.jboss.resteasy.test.providers.sse.SseApplication
      13:02:38,108 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002220: Adding singleton resource org.jboss.resteasy.test.providers.sse.SseResource from Application class org.jboss.resteasy.test.providers.sse.SseApplication
      [client] 13:02:40,070 INFO  [org.jboss.resteasy.test.providers.sse.SimpleProxyServer] (main) Starting proxy org.jboss.resteasy.test.providers.sse.SimpleProxyServer@7a6e66d7
      [client] 13:02:40,071 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,072 INFO  [org.jboss.resteasy.test.providers.sse.SimpleProxyServer] (ProxyServer) Proxy server is closed
      [client] 13:02:40,171 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,271 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,371 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,471 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,572 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,672 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,772 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,872 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:40,972 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,072 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,173 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,273 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,373 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,473 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,573 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,673 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,774 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,874 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:41,974 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,074 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,174 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,275 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,375 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,475 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,575 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,675 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,775 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,876 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      [client] 13:02:42,976 INFO  [org.jboss.resteasy.test.providers.sse.SseTest] (main) Proxy not started yet, sleeping 100ms
      13:02:43,083 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-5) RESTEASY002010: Failed to execute: jakarta.ws.rs.ServerErrorException: HTTP 500 Internal Server Error
      	at deployment.SseTest.war//org.jboss.resteasy.test.providers.sse.SseResource.testErrorConsumer(SseResource.java:245)
      	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:413)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:429)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:240)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:154)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:157)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:229)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:222)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      	at org.jboss.resteasy.resteasy-core@6.2.12.Final-redhat-00001//org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
      	at jakarta.servlet.api@6.0.0.redhat-00006//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at org.wildfly.security.elytron-web.undertow-server@4.1.2.Final-redhat-00001//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
      	at org.wildfly.security.elytron-base@2.6.4.Final-redhat-00001//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
      	at org.wildfly.security.elytron-base@2.6.4.Final-redhat-00001//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
      	at org.wildfly.security.elytron-base@2.6.4.Final-redhat-00001//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
      	at org.wildfly.security.elytron-web.undertow-server@4.1.2.Final-redhat-00001//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      	at org.wildfly.security.elytron-web.undertow-server-servlet@4.1.0.Final//org.wildfly.elytron.web.undertow.server.servlet.CleanUpHandler.handleRequest(CleanUpHandler.java:38)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at org.wildfly.extension.undertow@8.1.0.GA-redhat-00015//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.Connectors.executeRootHandler(Connectors.java:395)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:896)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      	at org.jboss.xnio@3.8.16.Final-redhat-00001//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      
      13:02:43,114 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (default task-3) entering eventStream()
      13:02:43,115 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (pool-558-thread-1) sending 3 events
      13:02:43,116 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (pool-558-thread-1) sent 3 events
      13:02:43,311 ERROR [io.undertow.request.io] (default I/O-3) UT005088: Failed to execute ServletOutputStream.closeAsync() on IO thread: java.nio.channels.ClosedChannelException
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.channels.DetachableStreamSinkChannel.writeFinal(DetachableStreamSinkChannel.java:209)
      	at io.undertow.core@2.3.18.SP1-redhat-00001//io.undertow.server.HttpServerExchange$WriteDispatchChannel.writeFinal(HttpServerExchange.java:2234)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.spec.ServletOutputStreamImpl.flushBufferAsync(ServletOutputStreamImpl.java:443)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.spec.ServletOutputStreamImpl.closeAsync(ServletOutputStreamImpl.java:722)
      	at io.undertow.servlet@2.3.18.SP1-redhat-00001//io.undertow.servlet.spec.ServletOutputStreamImpl$1.run(ServletOutputStreamImpl.java:695)
      	at org.jboss.xnio.nio@3.8.16.Final-redhat-00001//org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:624)
      	at org.jboss.xnio.nio@3.8.16.Final-redhat-00001//org.xnio.nio.WorkerThread.run(WorkerThread.java:491)
      
      13:02:44,118 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (default task-3) entering eventStream()
      13:02:44,118 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (pool-559-thread-1) sending 3 events
      13:02:44,118 INFO  [org.jboss.resteasy.test.providers.sse.SseResource] (pool-559-thread-1) sent 3 events
      13:02:46,166 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 97) WFLYUT0022: Unregistered web context: '/SseTest' from server 'default-server'
      13:02:46,166 ERROR [org.jboss.resteasy.test.providers.sse.SseResource] (pool-556-thread-2) sleep interrupted: java.lang.InterruptedException: sleep interrupted
      	at java.base/java.lang.Thread.sleep0(Native Method)
      	at java.base/java.lang.Thread.sleep(Thread.java:509)
      	at deployment.SseTest.war//org.jboss.resteasy.test.providers.sse.SseResource$5.run(SseResource.java:308)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      
      13:02:46,166 ERROR [org.jboss.resteasy.test.providers.sse.SseResource] (pool-556-thread-1) sleep interrupted: java.lang.InterruptedException: sleep interrupted
      	at java.base/java.lang.Thread.sleep0(Native Method)
      	at java.base/java.lang.Thread.sleep(Thread.java:509)
      	at deployment.SseTest.war//org.jboss.resteasy.test.providers.sse.SseResource$1.run(SseResource.java:150)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      
      13:02:46,166 ERROR [org.jboss.resteasy.test.providers.sse.SseResource] (pool-556-thread-3) sleep interrupted: java.lang.InterruptedException: sleep interrupted
      	at java.base/java.lang.Thread.sleep0(Native Method)
      	at java.base/java.lang.Thread.sleep(Thread.java:509)
      	at deployment.SseTest.war//org.jboss.resteasy.test.providers.sse.SseResource$6.run(SseResource.java:336)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      	at java.base/java.lang.Thread.run(Thread.java:1583)
      
      13:02:46,172 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment SseTest.war (runtime-name: SseTest.war) in 6ms
      13:02:46,179 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0002: Content removed from location /home/hudson/hudson_workspace/workspace/eap-8.x-resteasy-functional-ts-rhel/01135c3f/resteasy/testsuite/integration-tests/target/jbossas-managed/data/content/fd/fcf8e471961c42c176a189b69957cd3fd526d4/content
      13:02:46,179 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0009: Undeployed "SseTest.war" (runtime-name: "SseTest.war")
      
      

      Please note we observe the issue consistently with all JDKs and just on RHEL-10;

              jperkins-rhn James Perkins
              tborgato@redhat.com Tommaso Borgato
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: