jakartaee / platform-tck

Jakartaee-tck
Other
130 stars 109 forks source link

Address Persistence test remote logging failures when running the ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest test #1497

Open scottmarlow opened 3 months ago

scottmarlow commented 3 months ago
2024-08-26 10:08:33,744 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 34) HV000001: Hibernate Validator 8.0.1.Final
2024-08-26 10:08:34,185 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 82) WFLYUT0021: Registered web context: '/jpa_core_EntityGraph_pmservlet_vehicle_web' for server 'default-server'
2024-08-26 10:08:34,219 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "jpa_core_EntityGraph_vehicles.ear" (runtime-name : "jpa_core_EntityGraph_vehicles.ear")
2024-08-26 10:08:34,362 INFO  [stdout] (default task-1) ************************************************************
2024-08-26 10:08:34,363 INFO  [stdout] (default task-1) * props file set to "/tmp/smarlow-cts-props.txt"
2024-08-26 10:08:34,363 INFO  [stdout] (default task-1) ************************************************************
2024-08-26 10:08:34,363 INFO  [stdout] (default task-1) In doPost!
2024-08-26 10:08:34,367 INFO  [stdout] (default task-1) ServletVehicle - got InputStream
2024-08-26 10:08:34,370 INFO  [stdout] (default task-1) read properties!!!
2024-08-26 10:10:49,282 ERROR [stderr] (default task-1) java.lang.NullPointerException: Cannot invoke "java.net.Socket.close()" because "com.sun.ts.lib.util.TestUtil.socketOnRemoteVM" is null
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear//com.sun.ts.lib.util.TestUtil.init(TestUtil.java:443)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:84)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     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)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,283 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at java.base/java.lang.Thread.run(Thread.java:840)
2024-08-26 10:10:49,284 INFO  [stdout] (default task-1) unable to initialize remote logging
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1) jakarta.servlet.ServletException: unable to initialize remote logging
2024-08-26 10:10:49,284 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:89)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     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)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
2024-08-26 10:10:49,285 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2024-08-26 10:10:49,286 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
2024-08-26 10:10:49,286 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
2024-08-26 10:10:49,286 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
2024-08-26 10:10:49,286 ERROR [stderr] (default task-1)     at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2024-08-26 10:10:49,286 ERROR [stderr] (default task-1)     at java.base/java.lang.Thread.run(Thread.java:840)
2024-08-26 10:10:49,286 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /jpa_core_EntityGraph_pmservlet_vehicle_web/pmservlet_vehicle: jakarta.servlet.ServletException: test failed to run within the Servlet Vehicle
    at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:105)
    at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    at io.undertow.core@2.3.15.Final//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.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
    at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
    at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
    at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
    at java.base/java.lang.Thread.run(Thread.java:840)

2024-08-26 10:10:49,309 INFO  [stdout] (default task-1) In doPost!
2024-08-26 10:10:49,309 INFO  [stdout] (default task-1) ServletVehicle - got InputStream
2024-08-26 10:10:49,310 INFO  [stdout] (default task-1) read properties!!!
2024-08-26 10:13:04,450 ERROR [stderr] (default task-1) java.lang.NullPointerException: Cannot invoke "java.net.Socket.close()" because "com.sun.ts.lib.util.TestUtil.socketOnRemoteVM" is null
2024-08-26 10:13:04,450 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear//com.sun.ts.lib.util.TestUtil.init(TestUtil.java:443)
2024-08-26 10:13:04,450 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:84)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     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)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1)     at java.base/java.lang.Thread.run(Thread.java:840)
2024-08-26 10:13:04,451 INFO  [stdout] (default task-1) unable to initialize remote logging
2024-08-26 10:13:04,451 ERROR [stderr] (default task-1) jakarta.servlet.ServletException: unable to initialize remote logging
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:89)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     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)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
2024-08-26 10:13:04,452 ERROR [stderr] (default task-1)     at java.base/java.lang.Thread.run(Thread.java:840)
2024-08-26 10:13:04,452 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /jpa_core_EntityGraph_pmservlet_vehicle_web/pmservlet_vehicle: jakarta.servlet.ServletException: test failed to run within the Servlet Vehicle
    at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:105)
    at deployment.jpa_core_EntityGraph_vehicles.ear.jpa_core_EntityGraph_pmservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:115)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
starksm64 commented 3 months ago

This could be related to #1406 , as we need to try to regain as much logging from the javatest classes as possible to help not only debugging the port, but for TCK users.

scottmarlow commented 3 months ago

I'm going to try updating my local ts.jte properties to set harness.log.traceflag=true so that the connection properties are logged as per https://github.com/jakartaee/platform-tck/pull/1501 the connection is timing out.

scottmarlow commented 3 months ago

The TCK test runner side call stack as randomly captured by jstack looks like:

"main" #1 prio=5 os_prio=0 cpu=3510.12ms elapsed=936.32s tid=0x00007f5078027ba0 nid=0xcde1f runnable  [0x00007f507c515000]
   java.lang.Thread.State: RUNNABLE
    at sun.nio.ch.SocketDispatcher.read0(java.base@17.0.12/Native Method)
    at sun.nio.ch.SocketDispatcher.read(java.base@17.0.12/SocketDispatcher.java:47)
    at sun.nio.ch.NioSocketImpl.tryRead(java.base@17.0.12/NioSocketImpl.java:266)
    at sun.nio.ch.NioSocketImpl.implRead(java.base@17.0.12/NioSocketImpl.java:317)
    at sun.nio.ch.NioSocketImpl.read(java.base@17.0.12/NioSocketImpl.java:355)
    at sun.nio.ch.NioSocketImpl$1.read(java.base@17.0.12/NioSocketImpl.java:808)
    at java.net.Socket$SocketInputStream.read(java.base@17.0.12/Socket.java:966)
    at java.io.BufferedInputStream.fill(java.base@17.0.12/BufferedInputStream.java:244)
    at java.io.BufferedInputStream.read1(java.base@17.0.12/BufferedInputStream.java:284)
    at java.io.BufferedInputStream.read(java.base@17.0.12/BufferedInputStream.java:343)
    - locked <0x00000004204b1588> (a java.io.BufferedInputStream)
    at sun.net.www.http.HttpClient.parseHTTPHeader(java.base@17.0.12/HttpClient.java:826)
    at sun.net.www.http.HttpClient.parseHTTP(java.base@17.0.12/HttpClient.java:761)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@17.0.12/HttpURLConnection.java:1709)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@17.0.12/HttpURLConnection.java:1610)
    at com.sun.ts.tests.common.vehicle.web.WebVehicleRunner.runWebVehicleTest(WebVehicleRunner.java:150)
    at com.sun.ts.tests.common.vehicle.pmservlet.PMServletVehicleRunner.run(PMServletVehicleRunner.java:30)
    at com.sun.ts.tests.common.vehicle.web.WebVehicleRunner.run(WebVehicleRunner.java:81)
    at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
    at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:496)
    at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
    at com.sun.ts.lib.harness.EETest.run(EETest.java:295)
    at tck.arquillian.protocol.javatest.JavaTestMethodExecutor.runVehicleClient(JavaTestMethodExecutor.java:86)
    at tck.arquillian.protocol.javatest.JavaTestMethodExecutor.invoke(JavaTestMethodExecutor.java:62)
    at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:103)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@17.0.12/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@17.0.12/NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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:52)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@17.0.12/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@17.0.12/NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@17.0.12/Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@17.0.12/NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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 jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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 jdk.internal.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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 jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.12/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@17.0.12/Method.java:569)
    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:149)
    at org.jboss.arquillian.junit5.ArquillianExtension.interceptTestMethod(ArquillianExtension.java:89)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$218/0x00007f4fdc098f58.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall$$Lambda$219/0x00007f4fdc099378.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$$Lambda$736/0x00007f4fdc62f378.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
    at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$218/0x00007f4fdc098f58.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall$$Lambda$219/0x00007f4fdc099378.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$$Lambda$736/0x00007f4fdc62f378.apply(Unknown Source)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
    at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
    at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$772/0x00007f4fdc6355b0.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
    at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$403/0x00007f4fdc3158a8.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$402/0x00007f4fdc315680.invoke(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$401/0x00007f4fdc315258.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService$$Lambda$407/0x00007f4fdc314c88.accept(Unknown Source)
    at java.util.ArrayList.forEach(java.base@17.0.12/ArrayList.java:1511)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$403/0x00007f4fdc3158a8.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$402/0x00007f4fdc315680.invoke(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$401/0x00007f4fdc315258.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService$$Lambda$407/0x00007f4fdc314c88.accept(Unknown Source)
    at java.util.ArrayList.forEach(java.base@17.0.12/ArrayList.java:1511)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$403/0x00007f4fdc3158a8.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$402/0x00007f4fdc315680.invoke(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask$$Lambda$401/0x00007f4fdc315258.execute(Unknown Source)
    at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
    at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
    at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
    at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator$$Lambda$305/0x00007f4fdc2e3280.accept(Unknown Source)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
    at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
    at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
    at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
    at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
    at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
    at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
    at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
scottmarlow commented 3 months ago

I'm going to let the tests run for a bit but we likely have a protocol error to fix with one side not in sync with what the other side is sending/receiving.

Tests results in progress:

grep "Tests run:" tck3.log 
[ERROR] Tests run: 13, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 3196 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.EntityGraph.ClientPmservletTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.563 s -- in ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest
[ERROR] Tests run: 36, Failures: 0, Errors: 36, Skipped: 0, Time elapsed: 1.473 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.StoredProcedureQuery.Client1PmservletTest
[ERROR] Tests run: 36, Failures: 0, Errors: 36, Skipped: 0, Time elapsed: 1.315 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.StoredProcedureQuery.Client1PuservletTest
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.192 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.StoredProcedureQuery.Client2PmservletTest
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.132 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.StoredProcedureQuery.Client2PuservletTest
[ERROR] Tests run: 17, Failures: 0, Errors: 17, Skipped: 0, Time elapsed: 1.260 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client1PmservletTest
[ERROR] Tests run: 17, Failures: 0, Errors: 17, Skipped: 0, Time elapsed: 1.264 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client1PuservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.121 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client2PmservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.135 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client2PuservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.097 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client3PmservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.146 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client3PuservletTest
[ERROR] Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 1.162 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client4PmservletTest
[ERROR] Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 1.194 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.field.Client4PuservletTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.200 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.mappedsc.ClientPmservletTest
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.124 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.mappedsc.ClientPuservletTest
[ERROR] Tests run: 13, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 1.150 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.property.Client1PmservletTest
[ERROR] Tests run: 13, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 1.312 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.property.Client1PuservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.087 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.property.Client2PmservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.135 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.access.property.Client2PuservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.101 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.assocoverride.ClientPmservletTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.086 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.assocoverride.ClientPuservletTest
[ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 1.138 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.basic.Client1PmservletTest
[ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 1.093 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.basic.Client1PuservletTest
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 1.151 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.basic.Client2PmservletTest
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 1.113 s <<< FAILURE! -- in ee.jakarta.tck.persistence.core.annotations.basic.Client2PuservletTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.165 s -- in ee.jakarta.tck.persistence.core.annotations.collectiontable.ClientPmservletTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.089 s -- in ee.jakarta.tck.persistence.core.annotations.collectiontable.ClientPuservletTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.494 s -- in ee.jakarta.tck.persistence.core.annotations.convert.ClientPmservletTest
scottmarlow commented 3 months ago

Looks like https://github.com/jakartaee/platform-tck/blob/main/libutil/src/main/java/com/sun/ts/lib/util/TestUtil.java#L285 is sending an exception

scottmarlow commented 3 months ago

Class ee.jakarta.tck.persistence.core.types.generator.Client4PuservletTest extends ee.jakarta.tck.persistence.core.types.generator.Client4

and ee.jakarta.tck.persistence.core.types.generator.Client4 extends ee.jakarta.tck.persistence.core.types.generator.Client

and ee.jakarta.tck.persistence.core.types.generator.Client extends ee.jakarta.tck.persistence.common.PMClientBase

and ee.jakarta.tck.persistence.common.PMClientBase extends com.sun.ts.lib.harness.ServiceEETest

Currently, we are getting a java.lang.NoClassDefFoundError: Failed to link ee/jakarta/tck/persistence/core/types/generator/Client4 exception due to missing classes from generated jpa test ShrinkWrap code:

        // the war with the correct archive name
        WebArchive jpa_core_types_generator_puservlet_vehicle_web = ShrinkWrap.create(WebArchive.class, "jpa_core_types_generator_puservlet_vehicle_web.war");
        // The class files
        jpa_core_types_generator_puservlet_vehicle_web.addClasses(
        com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareBaseBean.class,
        com.sun.ts.tests.common.vehicle.VehicleRunnerFactory.class,
        com.sun.ts.tests.common.vehicle.ejb3share.UseEntityManager.class,
        com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareIF.class,
        com.sun.ts.tests.common.vehicle.puservlet.PUServletVehicle.class,
        com.sun.ts.lib.harness.EETest.Fault.class,
        com.sun.ts.tests.common.vehicle.ejb3share.UseEntityManagerFactory.class,
        ee.jakarta.tck.persistence.common.PMClientBase.class,
        com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.class,
        com.sun.ts.tests.common.vehicle.VehicleRunnable.class,
        ee.jakarta.tck.persistence.core.types.generator.Client4.class,
        com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper.class,
        com.sun.ts.lib.harness.EETest.class,
        com.sun.ts.lib.harness.ServiceEETest.class,
        com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper.class,
        com.sun.ts.lib.harness.EETest.SetupException.class,
        com.sun.ts.tests.common.vehicle.VehicleClient.class,
        com.sun.ts.tests.common.vehicle.ejb3share.NoopTransactionWrapper.class
        );
scottmarlow commented 3 months ago

We also need to add super class ee.jakarta.tck.persistence.core.types.generator.Client

scottmarlow commented 3 months ago

The exception that we see on the EE implementation side is:

2024-08-27 08:09:29,201 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "jpa_core_types_generator_vehicles.ear" (runtime-name : "jpa_core_types_generator_vehicles.ear")
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ************************************************************
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) * props file set to "/tmp/smarlow-cts-props.txt"
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ************************************************************
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) EXCEPTION WHILE WRITING: SVR-TRACE: init com.sun.ts.tests.common.vehicle.puservlet.PUServletVehicle ...
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2)2024-08-27 08:09:29,201 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "jpa_core_types_generator_vehicles.ear" (runtime-name : "jpa_core_types_generator_vehicles.ear")
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ************************************************************
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) * props file set to "/tmp/smarlow-cts-props.txt"
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ************************************************************
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) EXCEPTION WHILE WRITING: SVR-TRACE: init com.sun.ts.tests.common.vehicle.puservlet.PUServletVehicle ...
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ADDED THIS STRING TO BUFFERED OUT: SVR-TRACE: init com.sun.ts.tests.common.vehicle.puservlet.PUServletVehicle ...
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) In doPost!
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) EXCEPTION WHILE WRITING: SVR-TRACE: In doPost
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ADDED THIS STRING TO BUFFERED OUT: SVR-TRACE: In doPost
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) EXCEPTION WHILE WRITING: SVR-TRACE: ServletVehicle - In doGet
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ADDED THIS STRING TO BUFFERED OUT: SVR-TRACE: ServletVehicle - In doGet
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ServletVehicle - got InputStream
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) EXCEPTION WHILE WRITING: SVR-TRACE: ServletVehicle - got InputStream
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) ADDED THIS STRING TO BUFFERED OUT: SVR-TRACE: ServletVehicle - got InputStream
2024-08-27 08:09:29,207 INFO  [stdout] (default task-2) read properties!!!{harness.socket.retry.count=10, logical.hostname.servlet=server, harness.temp.directory=${ts.home}/tmp, whitebox-anno_no_md=java:comp/env/eis/whitebox-anno_no_md, porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection, javamail.protocol=imap, whitebox-tx=java:comp/env/eis/whitebox-tx, porting.ts.HttpsURLConnection.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection, log.file.location=${jboss.server.home}/log, porting.ts.deploy.class.1=org.jboss.ts.lib.implementation.jboss.javaee.JBossAutoDeployment, password=j2ee, porting.ts.deploy.class.2=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment, db.supports.sequence=true, sigTestClasspath=${jboss.sig.test.classpath}:${JAVA_HOME}/lib/rt.jar:${jimage.dir}/java.base${pathsep}${jimage.dir}/java.rmi${pathsep}${jimage.dir}/java.sql${pathsep}${jimage.dir}/java.naming, porting.ts.login.class.1=org.jboss.ts.lib.implementation.jboss.javaee.JBossLoginContext, porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext, authuser=javajoe, jstl.db.user=${derby.user}, testName=sequenceGeneratorOnPropertyTest, securedWebServicePort=8443, whitebox-multianno=java:comp/env/eis/whitebox-multianno, finder=cts, authpassword=javajoe, whitebox-xa=java:comp/env/eis/whitebox-xa, whitebox-mdcomplete=java:comp/env/eis/whitebox-mdcomplete, harness.log.delayseconds=0, harness.log.traceflag=false, org.omg.CORBA.ORBClass=foo, test_classname=ee.jakarta.tck.persistence.core.types.generator.Client4, jms_timeout=10000, whitebox-mixedmode=java:comp/env/eis/whitebox-mixedmode, rauser1=cts1, javamail.server=localhost, java.naming.factory.initial=foo, Driver=DriverOnlyUsedIfDriverManagerIsYes, rauser2=cts2, ws_wait=30, harness.log.port=2000, harness.host=192.168.0.35, vehicle=puservlet, whitebox-notx=java:comp/env/eis/whitebox-notx, javamail.username=nobody, jdbc.db=derby, porting.ts.url.class.2=com.sun.ts.lib.implementation.sun.common.SunRIURL, porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL, webServerPort=8080, porting.ts.jms.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin, platform.mode=jakartaEE, vehicle_archive_name=jpa_core_types_generator_vehicles, whitebox-permissiondd=java:comp/env/eis/whitebox-permissiondd, porting.ts.jms.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin, service_eetest.vehicles=puservlet, jstl.db.password=${derby.passwd}, rapassword2=cts2, db1=db1OnlyUsedIfDriverManagerIsYes, user=j2ee, webServerHost=localhost, rapassword1=cts1}
2024-08-27 08:09:29,208 WARN  [org.jboss.modules.define] (default task-2) Failed to define class ee.jakarta.tck.persistence.core.types.generator.Client4 in Module "deployment.jpa_core_types_generator_vehicles.ear.jpa_core_types_generator_puservlet_vehicle_web.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link ee/jakarta/tck/persistence/core/types/generator/Client4 (Module "deployment.jpa_core_types_generator_vehicles.ear.jpa_core_types_generator_puservlet_vehicle_web.war" from Service Module Loader): ee/jakarta/tck/persistence/core/types/generator/Client
    at java.base/java.lang.ClassLoader.defineClass1(Native Method)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1095)
    at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:351)
    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:276)
    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:79)
    at org.jboss.modules.Module.loadModuleClass(Module.java:798)
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:192)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:408)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:396)
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:115)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at deployment.jpa_core_types_generator_vehicles.ear.jpa_core_types_generator_puservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:75)
    at deployment.jpa_core_types_generator_vehicles.ear.jpa_core_types_generator_puservlet_vehicle_web.war//com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:117)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
    at jakarta.servlet.api@6.0.0//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
    at org.wildfly.security.elytron-base@2.5.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
    at org.wildfly.security.elytron-web.undertow-server@4.1.0.Final//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.core@2.3.15.Final//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    at io.undertow.core@2.3.15.Final//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.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:44)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:51)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
    at io.undertow.core@2.3.15.Final//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at org.wildfly.extension.undertow@34.0.0.Beta1-SNAPSHOT//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
    at io.undertow.servlet@2.3.15.Final//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
    at io.undertow.core@2.3.15.Final//io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
    at io.undertow.core@2.3.15.Final//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
    at org.jboss.xnio@3.8.16.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
    at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: ee.jakarta.tck.persistence.core.types.generator.Client from [Module "deployment.jpa_core_types_generator_vehicles.ear.jpa_core_types_generator_puservlet_vehicle_web.war" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:408)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:396)
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:115)
    ... 61 more
starksm64 commented 3 months ago

Ok, this is another jpa refactor issue. The EE10 build does not know about the new classes, so whenever the EE11toEE10Mapping#addTestClassMapping is needed, we need to add the Class in addition to the ClassN to the war or appclient.

starksm64 commented 3 months ago

https://github.com/eclipse-ee4j/jakartaee-tck-tools/issues/121

scottmarlow commented 3 months ago

One change that is missing that I manually made to get further:

diff --git a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/ClientPuservletTest.java b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/ClientPuservletTest.java
index b9275c249..ee89d6234 100644
--- a/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/ClientPuservletTest.java
+++ b/jpa/platform-tests/src/main/java/ee/jakarta/tck/persistence/core/EntityGraph/ClientPuservletTest.java
@@ -75,6 +75,7 @@ public class ClientPuservletTest extends ee.jakarta.tck.persistence.core.EntityG
             ee.jakarta.tck.persistence.common.PMClientBase.class,
             com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.class,
             ee.jakarta.tck.persistence.core.EntityGraph.Client.class,
+            ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest.class,
             com.sun.ts.tests.common.vehicle.VehicleRunnable.class,
             com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper.class,
             com.sun.ts.lib.harness.EETest.class,
@@ -88,6 +89,8 @@ public class ClientPuservletTest extends ee.jakarta.tck.persistence.core.EntityG
             URL warResURL = Client.class.getResource("/com/sun/ts/tests/common/vehicle/puservlet/puservlet_vehicle_web.xml");
scottmarlow commented 3 months ago

Another problem is that we are passing property "test_classname" -> "ee.jakarta.tck.persistence.core.EntityGraph.Client" but that should be ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest which seems similar to previous comment issue.

scottmarlow commented 3 months ago

https://github.com/eclipse-ee4j/jakartaee-tck-tools/issues/133 is responsible for the incorrect test_classname but that seems like a different problem then the missing ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest.class.

Added https://github.com/eclipse-ee4j/jakartaee-tck-tools/issues/134 for the missing ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest.class in generated code for ee.jakarta.tck.persistence.core.EntityGraph.ClientPuservletTest.

scottmarlow commented 3 months ago

A third issue is with the "harness.host" property accessed in https://github.com/jakartaee/platform-tck/blob/main/libutil/src/main/java/com/sun/ts/lib/util/TestUtil.java#L445 being an ip address (e.g. 10.5.22.94) that isn't quite as good as "localhost" would be for my local machine.

With hostOfHarness variable ("harness.host") set to "localhost", the call to socketOnRemoteVM = new Socket(hostOfHarness, portOfHarness); just works but if hostOfHarness is 10.5.22.94 blocks until timeout.

Locally, ifconfig -a -v | grep 10.5 shows no match so will have to hunt the cause down.

The code in the Platform TCK LibUtil.java InetAddress.getLocalHost().getHostAddress() is returning 10.5.126.52 for me.

My local /etc/hosts file only contains:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

I think that harness.log.port should not be set to 2000 as that is likely blocked by some firewall software. I'll update harness.log.port in my ts.jte.

scottmarlow commented 3 months ago

A third issue is with the "harness.host" property accessed in https://github.com/jakartaee/platform-tck/blob/main/libutil/src/main/java/com/sun/ts/lib/util/TestUtil.java#L445 being an ip address (e.g. 10.5.22.94) that isn't quite as good as "localhost" would be for my local machine.

With hostOfHarness variable ("harness.host") set to "localhost", the call to socketOnRemoteVM = new Socket(hostOfHarness, portOfHarness); just works but if hostOfHarness is 10.5.22.94 blocks until timeout.

Locally, ifconfig -a -v | grep 10.5 shows no match so will have to hunt the cause down.

The code in the Platform TCK LibUtil.java InetAddress.getLocalHost().getHostAddress() is returning 10.5.126.52 for me.

My local /etc/hosts file only contains:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

I think that harness.log.port should not be set to 2000 as that is likely blocked by some firewall software. I'll update harness.log.port in my ts.jte.

I think we should allow users to specify the harness.host as if that is localhost my local firewall is happier.

Created https://github.com/jakartaee/platform-tck/issues/1505 for adding harness.host in ts.jte

scottmarlow commented 1 month ago

I see this on EE 10 as well.