Skip to content

Flaky test_backup_restore_new #44901

@qoega

Description

@qoega

test_backup_restore_new/test.py::test_async_backups_to_same_destination[http]

https://s3.amazonaws.com/clickhouse-test-reports/44698/314d95fd71ae246b4f28fea2fbfdbb5dd91078a0/integration_tests__release__[2/4].html

        # The first backup should succeed.
>       assert instance.query(
            f"SELECT status, error FROM system.backups WHERE id='{id1}'"
        ) == TSV([["BACKUP_CREATED", ""]])
E       assert "BACKUP_FAILED\tCode: 598. DB::Exception: A concurrent backup writing to the same destination Disk(\\'backups\\', \\'2/\\') detected. (BACKUP_ALREADY_EXISTS) (version 22.13.1.1161)\n" == BACKUP_CREATED
E        +  where "BACKUP_FAILED\tCode: 598. DB::Exception: A concurrent backup writing to the same destination Disk(\\'backups\\', \\'2/\\') detected. (BACKUP_ALREADY_EXISTS) (version 22.13.1.1161)\n" = <bound method ClickHouseInstance.query of <helpers.cluster.ClickHouseInstance object at 0x7f45db0d5af0>>("SELECT status, error FROM system.backups WHERE id='a0f45d0a-bf93-4e5b-bb95-9e03f8b51f76'")
E        +    where <bound method ClickHouseInstance.query of <helpers.cluster.ClickHouseInstance object at 0x7f45db0d5af0>> = <helpers.cluster.ClickHouseInstance object at 0x7f45db0d5af0>.query
E        +  and   BACKUP_CREATED = TSV([['BACKUP_CREATED', '']])

test_backup_restore_new/test.py:505: AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingSpecial issue with list of bugs found by CI

    Type

    No type
    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