8000 [quarkus-next] TracingProviderTest.spanInfo fails due to OTel 1.60 W3C random trace flag · Issue #48552 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
8000

[quarkus-next] TracingProviderTest.spanInfo fails due to OTel 1.60 W3C random trace flag #48552

Closed

Description

@Pepo48

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

dist/quarkus

Describe the bug

TracingProviderTest#spanInfo fails on quarkus-next after Quarkus PR #53476 bumped OTel SDK from 1.59.0 to 1.60.1.
OTel 1.60 implements W3C Trace Context Level 2 and now sets the "random" flag (0x02) on trace flags alongside the "sampled" flag (0x01).

This will become affecting Keycloak with Quarkus version 3.35.0.CR1, so it should not be merged to main sooner. Thus for now the fix targets quarkus-next branch only and will be cherry-picked later.

Version

nightly

Regression

  • The issue is a regression

Expected behavior

Test expects getTraceFlags() to equal TraceFlags.getSampled() (01).

Actual behavior

Expected: is <01>
     but: was <03>

getTraceFlags() returns 03 (sampled 0x01 + random 0x02).

https://github.com/keycloak/keycloak/actions/runs/25028049323/job/73304002137

How to Reproduce?

Run the test from quarkus-next:

mvn test -pl tests/base -Dtest="TracingProviderTest#spanInfo" -DfailIfNoTests=false

Anything else?

No response

Activity

  1. self-assigned this
    on Apr 28, 2026
  2. added theissue type on Apr 28, 2026
  3. added
    kind/bugCategorizes a PR related to a bug
    area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)
    on Apr 28, 2026
  4. Pepo48 commented on Jun 2, 2026

    @Pepo48
    ContributorAuthor

    Fix for this issue lives in the quarkus-next branch. It is going to be part of main with the next Quarkus LTS upgrade. The upgrade checklist can be found at #49549.

    Thus, I'm closing this issue as already resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/dist/quarkusQuarkus distribution — packaging, container images, server config (kc.sh)kind/bugCategorizes a PR related to a bugpriority/importantMust be worked on very soonteam/cloud-native

Type

Fields

No fields configured for bug.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0