Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19405

MicroProfile REST Client [CDI]ProxyServerTest fails with WildFly Preview bootable jar

XMLWordPrintable

      Nightly bootable jar tests with WildFly Preview have been failing for over a month:

      https://ci.wildfly.org/viewType.html?buildTypeId=WF_MainNightlyJobs_WildFlyPreviewBootableJarLinuxJdk17

      ProxyServerTest and CDIProxyServerTest fail due to an AbstractMethodError:

      33m03:22:04,051 WARN  [org.eclipse.jetty.server.HttpChannel] (qtp327245644-215) /testProxyCDI: java.lang.AbstractMethodError: Receiver class org.eclipse.microprofile.rest.client.tck.ProxyServerTest$1 does not define or inherit an implementation of the resolved method 'abstract void handle(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)' of interface org.eclipse.jetty.server.Handler. Selected method is 'abstract void org.eclipse.jetty.server.handler.AbstractHandler.handle(java.lang.String, org.eclipse.jetty.server.Request, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)'.
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.Server.handle(Server.java:516)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
      	at com.github.tomakehurst.wiremock//org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
      	at java.base/java.lang.Thread.run(Thread.java:840)
      

      The problem is the test deployment includes javax.* classes and with WFP the deployment is transformed, so they become jakarta.*.

      Why only the bootable jar tests are affected is a mystery.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: