Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP Release mode builds fail sporadically in CI #170

Open
Arlodotexe opened this issue Jun 16, 2022 · 1 comment
Open

UWP Release mode builds fail sporadically in CI #170

Arlodotexe opened this issue Jun 16, 2022 · 1 comment
Assignees
Labels
app Relevant to the Strix Music App bug Something isn't working high difficulty Takes significant effort to complete tooling Related to tooling used to create, host or collaborate on the project

Comments

@Arlodotexe
Copy link
Owner

The issue

When the CI compiles the Strix Music app in release mode, there's a high chance that release mode will fail and need to be rerun. The error message is:

Generating native code
Launching 'C:\Users\VssAdministrator.nuget\packages\runtime.win10-arm.microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\ARM\ilc\Tools64\nutc_driver.exe @"D:\a\1\s\src\Platforms\StrixMusic.UWP\obj\ARM\Release\ilc\intermediate\MDIL\StrixMusic.rsp"'

##[error]C:\Users\VssAdministrator.nuget\packages\microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\Microsoft.NetNative.targets(801,5): Error : Internal Compiler Error

C:\Users\VssAdministrator.nuget\packages\microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\Microsoft.NetNative.targets(801,5): error : Internal Compiler Error [D:\a\1\s\src\Platforms\StrixMusic.UWP\StrixMusic.UWP.csproj]

##[error]C:\Users\VssAdministrator.nuget\packages\microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\Microsoft.NetNative.targets(801,5): Error : ILT0005: 'C:\Users\VssAdministrator.nuget\packages\runtime.win10-arm.microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\ARM\ilc\Tools64\nutc_driver.exe @"D:\a\1\s\src\Platforms\StrixMusic.UWP\obj\ARM\Release\ilc\intermediate\MDIL\StrixMusic.rsp"' returned exit code 1

1>C:\Users\VssAdministrator.nuget\packages\microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\Microsoft.NetNative.targets(801,5): error : ILT0005: 'C:\Users\VssAdministrator.nuget\packages\runtime.win10-arm.microsoft.net.native.compiler\2.2.7-rel-27913-00\tools\ARM\ilc\Tools64\nutc_driver.exe @"D:\a\1\s\src\Platforms\StrixMusic.UWP\obj\ARM\Release\ilc\intermediate\MDIL\StrixMusic.rsp"' returned exit code 1 [D:\a\1\s\src\Platforms\StrixMusic.UWP\StrixMusic.UWP.csproj]

Done Building Project "D:\a\1\s\src\Platforms\StrixMusic.UWP\StrixMusic.UWP.csproj" (default targets) -- FAILED.

The solution

Build locally in release mode and find/fix the cause of the build error. Use Visual Studio and set the build output level to at least "Detailed" to get the most useful information.

@Arlodotexe Arlodotexe added bug Something isn't working tooling Related to tooling used to create, host or collaborate on the project app Relevant to the Strix Music App high difficulty Takes significant effort to complete labels Jun 16, 2022
@Arlodotexe Arlodotexe self-assigned this Jun 16, 2022
@Arlodotexe Arlodotexe added the maintainer priority The repo maintainers are prioritizing this label Jun 23, 2022
@Arlodotexe
Copy link
Owner Author

Arlodotexe commented Jul 22, 2022

#184 contains all of our attempts and findings so far.

#201 might be able to help us sidestep the issue entirely by having build validation done on the contributor's machine(s).

@Arlodotexe Arlodotexe removed the maintainer priority The repo maintainers are prioritizing this label Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Relevant to the Strix Music App bug Something isn't working high difficulty Takes significant effort to complete tooling Related to tooling used to create, host or collaborate on the project
Projects
None yet
Development

No branches or pull requests

1 participant