Skip to content

Conversation

@ondrejsmid
Copy link
Contributor

Implements https://github.com/dotnet/release/issues/1360.

Based on a report from https://dev.azure.com/dnceng/internal/_build/results?buildId=2790357&view=logs&j=a04ccd0e-f300-5bd3-9bff-a825d84d94c7&t=4286beb4-0319-531f-3602-b10bb7d12c2a
and its log entries containing a phrase "Hash mismatch for", we revealed mismatches between Sha512 hash values contained in release files and actual Sha512 hash values computed during the validation steps in the pipeline.
We think that we can consider the files pointed by the release files as having correct content, as they are from older dotnet versions and hence already used by customers. Hence we are correcting the hash values in release files.
These fixes are based on following extracted lines from the pipeline report:
hash mismatch report - invalid and valid hash.txt
which in release files are sections mentioning release channels reported in an extract (from the same log)
hash mismatch report - channels.txt

Testing:
With this branch (https://github.com/ondrejsmid/dotnet-core/tree/dev/ondrejsmid/fix-hashes) there were no invalid hashes reported anymore (No lines having "Hash mismatch for"):
https://dev.azure.com/dnceng/internal/_build/results?buildId=2791050&view=logs&j=a04ccd0e-f300-5bd3-9bff-a825d84d94c7&t=4286beb4-0319-531f-3602-b10bb7d12c2a

@rbhanda rbhanda merged commit 7e61de0 into dotnet:main Sep 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants