dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

[ci] Fix signing identities missing on some bots #25948

Open rmarinho opened 2 days ago

rmarinho commented 2 days ago

Description

Since we are skipping provisioantor to install the certs and profiles we need to find our clear the builds that need this.

Maybe for now only do that on DevDiv.

Steps to Reproduce

Try to run the UITEsts build or Maui build in a bot without signing identities

Link to public reproduction project repository

https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10581437&view=results

Version with bug

9.0.10 SR1

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output


ok another one ...

/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error : Could not find any available provisioning profiles for Microsoft.Maui.Essentials.Sample on iOS. [/Users/builder/azdo/_work/2/s/src/Essentials/samples/Samples/Essentials.Sample.csproj::TargetFramework=net9.0-ios]
/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error :          [/Users/builder/azdo/_work/2/s/src/Essentials/samples/Samples/Essentials.Sample.csproj::TargetFramework=net9.0-ios]
/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error : Could not find any available provisioning profiles for Microsoft.Maui.Essentials.DeviceTests on iOS. [/Users/builder/azdo/_work/2/s/src/Essentials/test/DeviceTests/Essentials.DeviceTests.csproj::TargetFramework=net9.0-ios]
/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error :          [/Users/builder/azdo/_work/2/s/src/Essentials/test/DeviceTests/Essentials.DeviceTests.csproj::TargetFramework=net9.0-ios]
/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error : Could not find any available provisioning profiles for Microsoft.Maui.Graphics.DeviceTests on iOS. [/Users/builder/azdo/_work/2/s/src/Graphics/tests/DeviceTests/Graphics.DeviceTests.csproj::TargetFramework=net9.0-ios]
/Users/builder/azdo/_work/2/s/.dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.0/18.0.9617/tools/msbuild/iOS/Xamarin.Shared.targets(1836,3): error :          [/Users/builder/azdo/_work/2/s/src/Graphics/tests/DeviceTests/Graphics.DeviceTests.csproj::TargetFramework=net9.0-ios]
    5394 Warning(s)
    3 Error(s)
rmarinho commented 4 hours ago

This seems to be kinda of working for handlers.yaml but not for device tests yet.