Skip to content

[Flaky CI]: test_span_attachment_ds_drop #5933

@jjbayer

Description

@jjbayer

Flakiness Type

Assertion failure

Name of Test

tests/integration/test_attachmentsv2.py::test_span_attachment_ds_drop[trace]

Link to Test Run

https://github.com/getsentry/relay/actions/runs/25326863156/job/74249979187?pr=5927

Details

tests/integration/test_attachmentsv2.py::test_span_attachment_ds_drop[trace] - AssertionError: assert [{'metadata':...7908032, ...}] == [{'metadata':...452866), ...}]
  
  At index 0 diff: {'timestamp': 1777908032, 'width': 1, 'name': 'c:spans/usage@none', 'type': 'c', 'value': 1.0, 'tags': {'is_segment': 'false'}, 'metadata': {'merges': 1, 'received_at': 1777908032}} != {'metadata': <ANY>, 'name': 'c:spans/count_per_root_project@none', 'tags': {'decision': 'drop', 'is_segment': 'false', 'target_project_id': '42', 'transaction': 'tx_from_root'}, 'timestamp': 2026-05-04 15:20:02.452856+00:00 (1777908002.452856) <= x <= 2026-05-04 15:21:02.452857+00:00 (1777908062.452857), 'type': 'c', 'value': 1.0, 'width': 1}
  Right contains one more item: {'metadata': <ANY>, 'name': 'c:spans/usage@none', 'tags': {'is_segment': 'false'}, 'timestamp': 2026-05-04 15:20:02.452865+00:00 (1777908002.452865) <= x <= 2026-05-04 15:21:02.452866+00:00 (1777908062.452866), ...}
  
  Full diff:
    [
        {
  -         'metadata': <ANY>,
  ?                     ^^^^^^
  +         'metadata': {
  ?                     ^
  +             'merges': 1,
  +             'received_at': 1777908032,
  -         'name': 'c:spans/count_per_root_project@none',
  -         'tags': {
  -             'decision': 'drop',
  -             'is_segment': 'false',
  -             'target_project_id': '42',
  -             'transaction': 'tx_from_root',
            },
  -         'timestamp': 2026-05-04 15:20:02.452856+00:00 (1777908002.452856) <= x <= 2026-05-04 15:21:02.452857+00:00 (1777908062.452857),
  -         'type': 'c',
  -         'value': 1.0,
  -         'width': 1,
  -     },
  -     {
  -         'metadata': <ANY>,
            'name': 'c:spans/usage@none',
            'tags': {
                'is_segment': 'false',
            },
  -         'timestamp': 2026-05-04 15:20:02.452865+00:00 (1777908002.452865) <= x <= 2026-05-04 15:21:02.452866+00:00 (1777908062.452866),
  +         'timestamp': 1777908032,
            'type': 'c',
            'value': 1.0,
            'width': 1,
        },
    ]
FAILED tests/integration/test_shutdown.py::test_graceful_shutdown[permanent] - assert b'HTTP/1.1 503' in b'HTTP/1.1 200 OK\r\ncontent-type: application/json\r\nvary: origin, access-control-request-method, access-control-request-headers\r\naccess-control-allow-origin: *\r\naccess-control-expose-headers: x-sentry-error,x-sentry-rate-limits,retry-after\r\ncross-origin-resource-policy: cross-origin\r\nserver: sentry-relay/26.4.1\r\ncontent-length: 41\r\nconnection: close\r\ndate: Mon, 04 May 2026 15:24:20 GMT\r\n\r\n{"id":"ffe3f908db874013ba27a8643b84d96b"}'

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions