Skip to content

Flaky test: test_backup_restore_s3/test.py::test_backup_to_s3_different_credentials[data_file_name_from_first_file_name-native_multipart] #90662

Closed

Description

@maxknv

Failure reason: AssertionError: assert 'S3ReadRequestsErrors'
CI report. (See job Integration tests (amd_tsan, 3/6))
cidb

Version info

Activity

  1. added
    testingSpecial issue with list of bugs found by CI
    flaky testflaky test found by CI
    on Nov 22, 2025
  2. alexey-milovidov commented on Feb 11, 2026

    @alexey-milovidov
    Member

    Possibly related fix: #96298

  3. alexey-milovidov commented on Mar 16, 2026

    @alexey-milovidov
    Member

    No recent failures.

  4. reopened this on Apr 1, 2026
  5. Avogar commented on Apr 1, 2026

    @Avogar
    Member

    @groeneai try to fix this flaky test

  6. groeneai commented on Apr 1, 2026

    @groeneai
    Collaborator

    @Avogar working on a fix for this.

    Root cause: The assertion assert "S3ReadRequestsErrors" not in events (line 1004 in test.py) is too strict. S3ReadRequestsErrors counts all non-throttling errors in GET/HEAD requests, including transient network errors that are retried and succeed. Under ASAN/UBSAN overhead in CI, MinIO operations are slower and transient read errors become more likely during the large 10M-row data transfer. The backup/restore operation itself succeeds (data integrity passes).

    CIDB shows the failures are concentrated on amd_asan_ubsan, db disk, old analyzer checks — confirming the sanitizer overhead correlation.

    The test's core purpose (verifying native copy fallback with different credentials) is validated by the other assertions (S3CopyObject, S3WriteRequestsErrors, S3CreateMultipartUpload) and the data integrity check. The read-error assertion tests transport reliability rather than credentials behavior.

    Fix PR incoming shortly.

  7. added a commit that references this issue on Apr 1, 2026
    5c21aaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

flaky testflaky test found by CItestingSpecial issue with list of bugs found by CI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions