[JBoss JIRA] (WFLY-13866) Several traces created in Jaeger for just one method call
by Emmanuel Hugonnet (Jira)
[ https://issues.redhat.com/browse/WFLY-13866?page=com.atlassian.jira.plugi... ]
Emmanuel Hugonnet commented on WFLY-13866:
------------------------------------------
The context is 'clear', the ScopeManager used by opentracing per default relies on ThreadLocal and thus is 'lost' for the async calls. We need something to propagate it.
> Several traces created in Jaeger for just one method call
> ---------------------------------------------------------
>
> Key: WFLY-13866
> URL: https://issues.redhat.com/browse/WFLY-13866
> Project: WildFly
> Issue Type: Bug
> Components: MP OpenTracing
> Affects Versions: 21.0.0.Beta1
> Reporter: Fabio Burzigotti
> Assignee: Emmanuel Hugonnet
> Priority: Critical
> Fix For: 21.0.0.Beta1
>
>
> I am migrating one opentracing/fault-tolerance test from Thorntail TS [1] and I noticed that Wildfly SNAPSHOT is behaving differently with respect to what in the subject.
> The test is pretty simple, deploying a REST app which makes use of injected service which in turn leverages microprofile opentracing (via API) and fault-tolerance (via annotations). The test executes the following 2 methods in the given order:
> - call {{hello}}, which is synchronous and is throwing an exception, hence failing and gets called again then ending up with the fallback. This generates 1 trace with 4 spans in Jaeger and the behavior is consistent between TT and WildFly
> - call {{helloAsync}}, which is asynchronous and is throwing an exception, hence failing and getting called again (asynchronously?) then ending up with the fallback. This generates the following traces in Jaeger:
> TT: 1 trace with 4 spans
> WildFly: 4 separate traces , i.e. the one for the REST endpoint GET method, two for the {{helloAsync}} calls and one for the fallback.
> [1]
> https://github.com/rhoar-qe/thorntail-test-suite/tree/master/microprofile...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13866) Several traces created in Jaeger for just one method call
by Fabio Burzigotti (Jira)
[ https://issues.redhat.com/browse/WFLY-13866?page=com.atlassian.jira.plugi... ]
Fabio Burzigotti updated WFLY-13866:
------------------------------------
Involved: Martin Choma
> Several traces created in Jaeger for just one method call
> ---------------------------------------------------------
>
> Key: WFLY-13866
> URL: https://issues.redhat.com/browse/WFLY-13866
> Project: WildFly
> Issue Type: Bug
> Components: MP OpenTracing
> Affects Versions: 21.0.0.Beta1
> Reporter: Fabio Burzigotti
> Assignee: Emmanuel Hugonnet
> Priority: Critical
> Fix For: 21.0.0.Beta1
>
>
> I am migrating one opentracing/fault-tolerance test from Thorntail TS [1] and I noticed that Wildfly SNAPSHOT is behaving differently with respect to what in the subject.
> The test is pretty simple, deploying a REST app which makes use of injected service which in turn leverages microprofile opentracing (via API) and fault-tolerance (via annotations). The test executes the following 2 methods in the given order:
> - call {{hello}}, which is synchronous and is throwing an exception, hence failing and gets called again then ending up with the fallback. This generates 1 trace with 4 spans in Jaeger and the behavior is consistent between TT and WildFly
> - call {{helloAsync}}, which is asynchronous and is throwing an exception, hence failing and getting called again (asynchronously?) then ending up with the fallback. This generates the following traces in Jaeger:
> TT: 1 trace with 4 spans
> WildFly: 4 separate traces , i.e. the one for the REST endpoint GET method, two for the {{helloAsync}} calls and one for the fallback.
> [1]
> https://github.com/rhoar-qe/thorntail-test-suite/tree/master/microprofile...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13866) Several traces created in Jaeger for just one method call
by Fabio Burzigotti (Jira)
[ https://issues.redhat.com/browse/WFLY-13866?page=com.atlassian.jira.plugi... ]
Fabio Burzigotti updated WFLY-13866:
------------------------------------
Priority: Critical (was: Major)
> Several traces created in Jaeger for just one method call
> ---------------------------------------------------------
>
> Key: WFLY-13866
> URL: https://issues.redhat.com/browse/WFLY-13866
> Project: WildFly
> Issue Type: Bug
> Components: MP OpenTracing
> Affects Versions: 21.0.0.Beta1
> Reporter: Fabio Burzigotti
> Assignee: Emmanuel Hugonnet
> Priority: Critical
> Fix For: 21.0.0.Beta1
>
>
> I am migrating one opentracing/fault-tolerance test from Thorntail TS [1] and I noticed that Wildfly SNAPSHOT is behaving differently with respect to what in the subject.
> The test is pretty simple, deploying a REST app which makes use of injected service which in turn leverages microprofile opentracing (via API) and fault-tolerance (via annotations). The test executes the following 2 methods in the given order:
> - call {{hello}}, which is synchronous and is throwing an exception, hence failing and gets called again then ending up with the fallback. This generates 1 trace with 4 spans in Jaeger and the behavior is consistent between TT and WildFly
> - call {{helloAsync}}, which is asynchronous and is throwing an exception, hence failing and getting called again (asynchronously?) then ending up with the fallback. This generates the following traces in Jaeger:
> TT: 1 trace with 4 spans
> WildFly: 4 separate traces , i.e. the one for the REST endpoint GET method, two for the {{helloAsync}} calls and one for the fallback.
> [1]
> https://github.com/rhoar-qe/thorntail-test-suite/tree/master/microprofile...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13866) Several traces created in Jaeger for just one method call
by Fabio Burzigotti (Jira)
[ https://issues.redhat.com/browse/WFLY-13866?page=com.atlassian.jira.plugi... ]
Fabio Burzigotti commented on WFLY-13866:
-----------------------------------------
Hi [~ehugonnet] and [~rhusar] - for some more information. I tried with WildFly 19.1.0 and WildFly 20.0.1.Final. The issue is present there too, so no regression, but I'd raise this to {{Critical}} at least until we don't have a full understanding of the issue context.
BTW - Actually it behaves in a slightly different way with 19, meaning that there I can see 4 separate traces for the async call instead there are 3 of them with 20 (the endpoint trace has 2 spans in it, since the fallback related one is included there)
CC [~brian.stansberry]
> Several traces created in Jaeger for just one method call
> ---------------------------------------------------------
>
> Key: WFLY-13866
> URL: https://issues.redhat.com/browse/WFLY-13866
> Project: WildFly
> Issue Type: Bug
> Components: MP OpenTracing
> Affects Versions: 21.0.0.Beta1
> Reporter: Fabio Burzigotti
> Assignee: Emmanuel Hugonnet
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> I am migrating one opentracing/fault-tolerance test from Thorntail TS [1] and I noticed that Wildfly SNAPSHOT is behaving differently with respect to what in the subject.
> The test is pretty simple, deploying a REST app which makes use of injected service which in turn leverages microprofile opentracing (via API) and fault-tolerance (via annotations). The test executes the following 2 methods in the given order:
> - call {{hello}}, which is synchronous and is throwing an exception, hence failing and gets called again then ending up with the fallback. This generates 1 trace with 4 spans in Jaeger and the behavior is consistent between TT and WildFly
> - call {{helloAsync}}, which is asynchronous and is throwing an exception, hence failing and getting called again (asynchronously?) then ending up with the fallback. This generates the following traces in Jaeger:
> TT: 1 trace with 4 spans
> WildFly: 4 separate traces , i.e. the one for the REST endpoint GET method, two for the {{helloAsync}} calls and one for the fallback.
> [1]
> https://github.com/rhoar-qe/thorntail-test-suite/tree/master/microprofile...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (WFLY-13876) Test for key-store certificate realm login (test for ELY-2023)
by Ricardo Martin Camarero (Jira)
Ricardo Martin Camarero created WFLY-13876:
----------------------------------------------
Summary: Test for key-store certificate realm login (test for ELY-2023)
Key: WFLY-13876
URL: https://issues.redhat.com/browse/WFLY-13876
Project: WildFly
Issue Type: Bug
Components: Security, Test Suite
Affects Versions: 20.0.1.Final
Reporter: Ricardo Martin Camarero
Assignee: Ricardo Martin Camarero
Working on ELY-2023 I realized that there is no test for a certificate login using a keystore realm. This JIRA is to follow the addition of that test (which in turn tests issue ELY-2023).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months