[undertow-dev] MicroProfile-OpenTracing failing async TCK - AsyncListener not being invoked

Stuart Douglas sdouglas at redhat.com
Mon Jul 16 21:13:51 EDT 2018


On Mon, Jul 16, 2018 at 7:23 PM Pavol Loffay <ploffay at redhat.com> wrote:

> Hi,
>
> I am migrating MicroProfile-OpenTracing implementation from
> Thorntaln/WF-Swarm to SmallRye [1]. We had all TCKs passing in Thorntail,
> however now in SmallRye one test for async endpoint is failing.
>
> The issue is that AsyncListener which reports tracing data is not being
> invoked. The listener is added in a servlet filter see
> https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/SpanFinishingFilter.java#L68
> .
>
> Should be AsyncListener always invoked for async requests? Or is it just
> undertow bug/ behavior? If the listener is not invoked tracing data is not
> reported and hence failing TCK.
>

Looking at this again I think this is a bug in Undertow. At the moment we
don't really delay the async complete() call properly, I have re-opened to
attached JIRA and will work on a fix.

Stuart


>
> Tests in SmallRye are based on WF13 and resteasy 3.0.24.Final the
> Thorntail uses the same resteasy version. The issue is also described on
> pull request [1].
>
> [1]: https://github.com/smallrye/smallrye-opentracing/pull/4
>
> Regards,
>
> --
>
> PAVOL LOFFAY
>
> SOFTWARE ENGINEER
>
> Red Hat <https://www.redhat.com/>
>
> M: +41791562647
> <https://red.ht/sig>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20180717/9cbf3937/attachment-0001.html 


More information about the undertow-dev mailing list