Skip to content

Flaky test: tests/sentry/uptime/endpoints/test_organization_uptime_alert_index.py::OrganizationUptimeAlertIndexEndpointTest::test #108884

Closed

Description

@github-actions

Failing test: tests/sentry/uptime/endpoints/test_organization_uptime_alert_index.py::OrganizationUptimeAlertIndexEndpointTest::test
Sentry sha: ab471d2
Run: https://github.com/getsentry/sentry/actions/runs/22271636179

�[1m�[31mtests/sentry/uptime/endpoints/test_organization_uptime_alert_index.py�[0m:24: in test
    self.check_valid_response(resp, [alert_1, alert_2])
�[1m�[31mtests/sentry/uptime/endpoints/test_organization_uptime_alert_index.py�[0m:15: in check_valid_response
    assert [
�[1m�[31mE   AssertionError: assert [{'assertion'...opment', ...}] == [{'assertion'...opment', ...}]�[0m
�[1m�[31mE     �[0m
�[1m�[31mE     At index 0 diff: {'id': '1854', 'projectSlug': 'bar', 'environment': 'development', 'name': 'test1', 'status': 'active', 'uptimeStatus': <UptimeStatus.OK: 1>, 'mode': 3, 'owner': None, 'recoveryThreshold': 1, 'downtimeThreshold': 3, 'url': 'http://Wanted-Bedbug.com', 'method': 'GET', 'body': None, 'headers': [], 'intervalSeconds': 60, 'timeoutMs': 100, 'traceSampling': False, 'responseCaptureEnabled': True, 'assertion': None} != {'id': '1855', 'projectSlug': 'bar', 'environment': 'development', 'name': 'test2', 'status': 'active', 'uptimeStatus': <UptimeStatus.OK: 1>, 'mode': 3, 'owner': None, 'recoveryThreshold': 1, 'downtimeThreshold': 3, 'url': 'http://Mature-Clam.com', 'method': 'GET', 'body': None, 'headers': [], 'intervalSeconds': 60, 'timeoutMs': 100, 'traceSampling': False, 'responseCaptureEnabled': True, 'assertion': None}�[0m
�[1m�[31mE     �[0m
�[1m�[31mE     Full diff:�[0m
�[1m�[31mE       [�[0m
�[1m�[31mE     +     {�[0m
�[1m�[31mE     +         'assertion': None,�[0m
�[1m�[31mE     +         'body': None,�[0m
�[1m�[31mE     +         'downtimeThreshold': 3,�[0m
�[1m�[31mE     +         'environment': 'development',�[0m
�[1m�[31mE     +         'headers': [],�[0m
�[1m�[31mE     +         'id': '1854',�[0m
�[1m�[31mE     +         'intervalSeconds': 60,�[0m
�[1m�[31mE     +         'method': 'GET',�[0m
�[1m�[31mE     +         'mode': 3,�[0m
�[1m�[31mE     +         'name': 'test1',�[0m
�[1m�[31mE     +         'owner': None,�[0m
�[1m�[31mE     +         'projectSlug': 'bar',�[0m
�[1m�[31mE     +         'recoveryThreshold': 1,�[0m
�[1m�[31mE     +         'responseCaptureEnabled': True,�[0m
�[1m�[31mE     +         'status': 'active',�[0m
�[1m�[31mE     +         'timeoutMs': 100,�[0m
�[1m�[31mE     +         'traceSampling': False,�[0m
�[1m�[31mE     +         'uptimeStatus': <UptimeStatus.OK: 1>,�[0m
�[1m�[31mE     +         'url': 'http://Wanted-Bedbug.com',�[0m
�[1m�[31mE     +     },�[0m
�[1m�[31mE           {�[0m
�[1m�[31mE               'assertion': None,�[0m
�[1m�[31mE               'body': None,�[0m
�[1m�[31mE               'downtimeThreshold': 3,�[0m
�[1m�[31mE               'environment': 'development',�[0m
�[1m�[31mE               'headers': [],�[0m
�[1m�[31mE               'id': '1855',�[0m
�[1m�[31mE               'intervalSeconds': 60,�[0m
�[1m�[31mE               'method': 'GET',�[0m
�[1m�[31mE               'mode': 3,�[0m
�[1m�[31mE               'name': 'test2',�[0m
�[1m�[31mE               'owner': None,�[0m
�[1m�[31mE               'projectSlug': 'bar',�[0m
�[1m�[31mE               'recoveryThreshold': 1,�[0m
�[1m�[31mE               'responseCaptureEnabled': True,�[0m
�[1m�[31mE               'status': 'active',�[0m
�[1m�[31mE               'timeoutMs': 100,�[0m
�[1m�[31mE               'traceSampling': False,�[0m
�[1m�[31mE               'uptimeStatus': <UptimeStatus.OK: 1>,�[0m
�[1m�[31mE               'url': 'http://Mature-Clam.com',�[0m
�[1m�[31mE           },�[0m
�[1m�[31mE     -     {�[0m
�[1m�[31mE     -         'assertion': None,�[0m
�[1m�[31mE     -         'body': None,�[0m
�[1m�[31mE     -         'downtimeThreshold': 3,�[0m
�[1m�[31mE     -         'environment': 'development',�[0m
�[1m�[31mE     -         'headers': [],�[0m
�[1m�[31mE     -         'id': '1854',�[0m
�[1m�[31mE     -         'intervalSeconds': 60,�[0m
�[1m�[31mE     -         'method': 'GET',�[0m
�[1m�[31mE     -         'mode': 3,�[0m
�[1m�[31mE     -         'name': 'test1',�[0m
�[1m�[31mE     -         'owner': None,�[0m
�[1m�[31mE     -         'projectSlug': 'bar',�[0m
�[1m�[31mE     -         'recoveryThreshold': 1,�[0m
�[1m�[31mE     -         'responseCaptureEnabled': True,�[0m
�[1m�[31mE     -         'status': 'active',�[0m
�[1m�[31mE     -         'timeoutMs': 100,�[0m
�[1m�[31mE     -         'traceSampling': False,�[0m
�[1m�[31mE     -         'uptimeStatus': <UptimeStatus.OK: 1>,�[0m
�[1m�[31mE     -         'url': 'http://Wanted-Bedbug.com',�[0m
�[1m�[31mE     -     },�[0m
�[1m�[31mE       ]�[0m

Activity

  1. linear commented on Feb 22, 2026

    @linear
  2. added a commit that references this issue on Feb 22, 2026
    f9da077
  3. sentry-junior commented on Oct 21, 2026

    @sentry-junior
    Contributor

    Closing: fixed by #128264. No master failures of this test in the sentry-tests Sentry project since the fix merged (21:45 UTC on 2026-10-20), and every master backend.yml run since then has passed. Reopen if it flakes again.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions