Skip to content

Checksum did not change when the download file failed to retry #886

@wwjjkk

Description

@wwjjkk

Describe the bug
Checksum did not change when the download file failed to redownload

To Reproduce
When downloading a file, overwriting the file will cause the download to fail
Information is as follows:

[Warn] [Thread 0] Attempt 0 - Failure occurred while downloading http://xxx/artifactory/xxx.txt - Checksum mismatch for /work/xxx.txt, expected: 716349e89d1260a1f8129520ec69953738e818c3, actual: 0caf2f7aec8045d47744520fd1cc942f5fd5b08d
[Warn] [Thread 0] Attempt 1 - Failure occurred while downloading http://xxx/artifactory/xxx.txt - Checksum mismatch for /work/xxx.txt, expected: 716349e89d1260a1f8129520ec69953738e818c3, actual: 0caf2f7aec8045d47744520fd1cc942f5fd5b08d
[Warn] [Thread 0] Attempt 2 - Failure occurred while downloading http://xxx/artifactory/xxx.txt - Checksum mismatch for /work/xxx.txt, expected: 716349e89d1260a1f8129520ec69953738e818c3, actual: 0caf2f7aec8045d47744520fd1cc942f5fd5b08d
[Warn] [Thread 0] Attempt 3 - Failure occurred while downloading http://xxx/artifactory/xxx.txt - Checksum mismatch for /work/xxx.txt, expected: 716349e89d1260a1f8129520ec69953738e818c3, actual: 0caf2f7aec8045d47744520fd1cc942f5fd5b08d
[Error] [Thread 0]  Received an error: Checksum mismatch for /work/xxx.txt, expected: 716349e89d1260a1f8129520ec69953738e818c3, actual: 0caf2f7aec8045d47744520fd1cc942f5fd5b08d

In our business, we need to recover some download files frequently, which is easy to happen when downloading, This will cause pipeline execution to fail

Expected behavior
Checksum change when the download file failed to redownload.Make sure the download works when we retry

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleAn outdated issue lacking engagement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions