dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.27k stars 4.73k forks source link

Unix CI assets are not downloadable; unlike Windows #107019

Open am11 opened 2 months ago

am11 commented 2 months ago

e.g. windows-x64: https://dev.azure.com/dnceng-public/public/_build/results?buildId=788469&view=logs&jobId=904dec8a-a560-5b3c-34ba-e48a636ec9fc&j=0b2f91e0-e9b9-5995-d2e6-c547ad90c405&t=a2b5e8a9-3564-5a98-83c0-cc6b995e15d6 has:

Downloading artifact Release_CoreCLR_windows_x64_Release from: https://dev.azure.com/dnceng-public//cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/788469/artifacts?artifactName=Release_CoreCLR_windows_x64_Release&$format=zip

which we can download and investigate/consume locally to build the next steps.

but osx-arm64: https://dev.azure.com/dnceng-public/public/_build/results?buildId=788469&view=logs&jobId=904dec8a-a560-5b3c-34ba-e48a636ec9fc&j=904dec8a-a560-5b3c-34ba-e48a636ec9fc&t=018db854-fefb-5222-3d8d-2036f59631b9 has:

Downloading artifact Release_CoreCLR_osx_arm64_Release from: https://dev.azure.com/dnceng-public//_apis/resources/Containers/42407846?itemPath=Release_CoreCLR_osx_arm64_Release&isShallow=true&api-version=4.1-preview.4

which denies the request:

image

It would be nice to not restrict access, at least not due to platform bias.

cc @akoeplinger, @mmitche

dotnet-policy-service[bot] commented 2 months ago

Tagging subscribers to this area: @dotnet/runtime-infrastructure See info in area-owners.md if you want to be subscribed.

akoeplinger commented 2 months ago

That's pretty weird and likely some AzDO issue since we don't configure access at the artifacts level.

Can you try going to https://dev.azure.com/dnceng-public/public/_build/results?buildId=788469&view=artifacts&pathAsName=false&type=publishedArtifacts and downloading Release_CoreCLR_osx_arm64_Release from the UI using the dropdown:

image

In case you didn't know, you can get to the artifacts list by clicking here on the build summary page:

image