Closed dotnet-eng-status[bot] closed 11 months ago
Code that generates that command is here: https://github.com/dotnet/runtime/blob/74ba1330fa5dbdc084493cdae014a69431bdaa6b/src/workloads/workloads.csproj#L166
I don't see anything that stands out. It's getting all the wixobj and it's passing the util extension. @mmitche @joeloff is it possible it's not using the latest wix drop? That could cause it.
I also recently made a change to SignTool. Checking to make sure that that change wasn't the cause.
The error looks odd though, is it complaining about the license (RTF) file? That should just be a statically linked file.
The error looks odd though, is it complaining about the license (RTF) file? That should just be a statically linked file.
No, that's not an error, it's just an informational that there wasn't a signed file that needed replacing in the original container (because this isn't signed).
Here's the actual error:
D:\a\_work\1\s\artifacts\obj\workloads\src\msi\Microsoft.NETCore.App.Runtime.Mono.android-arm\6.0.0-rtm.21508.16\x64\dotnethome_x64.wxs(24) : error LGHT0094 : Unresolved reference to symbol 'Property:WIX_NATIVE_MACHINE' in section 'Fragment:'.
It most likely means that one of the input files required to repack the msi is not being gathered up in CreateLightCommandPackageDrop
That property comes from WiXCA. It could be missing a link option. That's defined in the new build of WiX 3.14.0.5722 we're using.
It could be missing a link option.
I checked for that and it looks like the extension is passed in: https://github.com/dotnet/runtime/blob/74ba1330fa5dbdc084493cdae014a69431bdaa6b/src/workloads/workloads.csproj#L175 My guess is that it's using an old wix toolset. @mmitche can you see what version of wix it is using?
We are using whatever version is specified in arcade. The version of SignTool/Arcade Sdk in the release repo is 7.0.0-beta.21508.1, so up-to-date as of Friday.
Here's the commit which made the update in 7.0 https://github.com/dotnet/arcade/commit/feb3b11cc9eb78eee2759136273f4c3721fcb93a
Here's the one for 6.0 https://github.com/dotnet/arcade/commit/ee8d37dc8994143757d3948348ac66b7b9f736a6
Both would have been present. I would hope this is using 6.0 tools since it's a 6.0 build, can you double check the version? Can you share any more of the commandline / log from the failure? Wherever @mmitche got that error from would be good to see. It's important to see the light.exe its running and where it came from, as well as the commandline passed in.
In case it helps, I think this is also happening in main based on the corresponding validation issue: https://github.com/dotnet/runtime/issues/57892#issuecomment-939624063.
They all run off the same branch, so that makes sense.
So I chatted with @mmitche offline. He's seeing that error when reproducing locally, using build 1.0.0-v3.14.0.4118 of wix, which makes sense, that build doesn't have the feature we are depending on. We need 1.0.0-v3.14.5772. I double checked the commandline from the zip that the build is using and it includes -ext WixUtilExtension
so we are referencing the component which defines this property, just missing the feature from the build of wix that's being used.
We need to get the release tools using the same build of WiX as arcade/runtime. @mmitche says this won't happen until Wednesday due to it being dotnet-release repo. I'll let him explain more.
I guess I'm confused. The validation pipeline is run off of the main branch of dotnet-release, not the production branch. That means that it has the latest version of arcade that the repo has, and the latest version of arcade has 1.0.0-v3.14.5772 of wix, according to the commit history, which means that this was built using the correct WiX version.
The signing tool appears to be repackaging Wix itself: https://dev.azure.com/dnceng/internal/_git/dotnet-release?path=/src/Microsoft.DotNet.Release/Microsoft.DotNet.Signing.Extensions/Microsoft.DotNet.Signing.Extensions.csproj&version=GBmain&line=4&lineEnd=5&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents
It appears that's lagging because the SharedFramework SDK is almost a year old: https://dev.azure.com/dnceng/internal/_git/dotnet-release?path=/global.json&version=GBmain&line=13&lineEnd=14&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents
Thanks. I'll look to see if I can get the sharedframework sdk updated.
edit: remove the reference and convert over to Microsoft.DotNet.Build.Task.Installers
I created https://github.com/dotnet/arcade/issues/8022. @mmitche is also working on fixing this, so it sounds like we may be doing duplicate work. He has more indepth knowledge of the project, so I will likely let him take care of this.
Build #runtime-113464-.NET6 partiallySucceeded
Finished - Tue, 12 Oct 2021 04:31:28 GMT Duration - 322 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\dotnet-ilverify.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\ILCompiler.Reflection.ReadyToRun.Experimental.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Diagnostics.Tracing.EventSource.Redist.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Caching.Abstractions.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.Abstractions.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.CommandLine.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.EnvironmentVariables.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.UserSecrets.6.0.0-rtm.21510.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Caching.Memory.6.0.0-rtm.21510.5.symbols.nupkg
This helped and that specific error is gone 🎉🎉🎉. Unfortunately we are now seeing a few missing symbols from random packages.
@adiaaida @mmitche I'm skeptical that the missing symbols in the last run are actionable by us. Is this https://github.com/dotnet/arcade/issues/8015?
Could be. @epananth
Build #runtime-113794-.NET6 partiallySucceeded
Finished - Wed, 13 Oct 2021 04:43:27 GMT Duration - 337 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\dotnet-ilverify.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\ILCompiler.Reflection.ReadyToRun.Experimental.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Bcl.AsyncInterfaces.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Diagnostics.Tracing.EventSource.Redist.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Caching.Abstractions.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Caching.Memory.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.Abstractions.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.Binder.6.0.0-rtm.21512.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 1 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.Extensions.Configuration.CommandLine.6.0.0-rtm.21512.8.symbols.nupkg
Build #runtime-113934-.NET6 partiallySucceeded
Finished - Thu, 14 Oct 2021 04:29:34 GMT Duration - 322 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm.6.0.0-rtm.21513.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm64.6.0.0-rtm.21513.8.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Symbols missing for 2/373 packages
:x: - [Log] - PowerShell exited with code '1'.
Build #runtime-114325-.NET6 partiallySucceeded
Finished - Fri, 15 Oct 2021 03:23:15 GMT Duration - 257 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm.6.0.0-rtm.21514.7.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm64.6.0.0-rtm.21514.7.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Symbols missing for 2/373 packages
:x: - [Log] - PowerShell exited with code '1'.
Build #runtime-114591-.NET6 partiallySucceeded
Finished - Sat, 16 Oct 2021 03:40:46 GMT Duration - 273 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm64.6.0.0-rtm.21515.9.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm.6.0.0-rtm.21515.9.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Symbols missing for 2/373 packages
:x: - [Log] - PowerShell exited with code '1'.
Build #runtime-114681-.NET6 partiallySucceeded
Finished - Sun, 17 Oct 2021 03:39:54 GMT Duration - 274 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm.6.0.0-rtm.21515.15.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm64.6.0.0-rtm.21515.15.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Symbols missing for 2/373 packages
:x: - [Log] - PowerShell exited with code '1'.
@epananth's change for symbols validation has gone in, so we are no longer seeing the symbols validation failures (since those files are excluded): https://dev.azure.com/dnceng/internal/_build/results?buildId=1428519&view=results. Going to close this and the .NET 7 issue (assuming all are ok with that).
We are still seeing the "Source Code Validation" issues that @aik-jahoda is working on fixing. Let's keep this and the 7.0 issue open until those are fixed as well.
I'm also working on that from an infra standpoint. If what the Guardian folks gave me works, I should have a PR out to you guys this afternoon.
That is fantastic to hear 👍
Build #runtime-115490-.NET6 failed
Finished - Thu, 21 Oct 2021 00:05:59 GMT Duration - 60 minutes Requested for - DotNet Bot Reason - manual
The signing error likely means that something is going wrong in publishing, but I’ll check out the gather drop log in the morning
I think we are getting the version wrong again @mmitche
Build #runtime-115706-.NET6 failed
Finished - Fri, 22 Oct 2021 00:04:08 GMT Duration - 56 minutes Requested for - DotNet Bot Reason - manual
Build #runtime-115940-.NET6 failed
Finished - Sun, 24 Oct 2021 03:15:47 GMT Duration - 249 minutes Requested for - DotNet Bot Reason - manual
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetcli.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetcli.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetcli.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=ReleaseStaging-Infra) Failed to authenticate request for dotnetclichecksums.blob.core.windows.net, incorrect key
:x: - [Log] - The job running on agent NetCore1ESPool-Internal 3 ran longer than the maximum time of 60 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
@ViktorHofer I believe all credscan issues are gone. The credscan tool was updated and new discovered bugs were fixed.
Build #runtime-117789-.NET6 failed
Finished - Thu, 11 Nov 2021 05:47:15 GMT Duration - 400 minutes Requested for - DotNet Bot Reason - manual
I have a PR here to increase sourcelink validation timeout here: https://dev.azure.com/dnceng/internal/_git/dotnet-release/pullrequest/19783
Doesn't look like this is relevant anymore, closing.
Build #runtime-101520-.NET6 partiallySucceeded
:warning: : internal / Validate-DotNet partiallySucceeded
Summary
Finished - Thu, 12 Aug 2021 03:27:59 GMT Duration - 259 minutes Requested for - DotNet Bot Reason - manual
Details
Validation Ring
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm64.6.0.0-rc.1.21411.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Missing symbols for 2 modules in the package D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.win-arm.6.0.0-rc.1.21411.5.symbols.nupkg
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=CheckSymbols) Symbols missing for 2/318 packages
:x: - [Log] - PowerShell exited with code '1'.
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=SourceLink) D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.linux-musl-arm.6.0.0-rc.1.21411.5.symbols.nupkg has broken SourceLink links.
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=SourceLink) D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.Mono.browser-wasm.6.0.0-rc.1.21411.5.symbols.nupkg has broken SourceLink links.
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=SourceLink) D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.Mono.ios-arm64.6.0.0-rc.1.21411.5.symbols.nupkg has broken SourceLink links.
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=SourceLink) D:\workspace_work\1\a\signed\shipping\assets\symbols\Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86.6.0.0-rc.1.21411.5.symbols.nupkg has broken SourceLink links.
:x: - [Log] - (NETCORE_ENGINEERING_TELEMETRY=SourceLink) 4 package(s) failed validation.
:x: - [Log] - PowerShell exited with code '1'.
Required Validation Ring
Source Code Validation
Changes