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

[RC1] System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.) #74151

Closed
jeffschwMSFT opened this issue Aug 18, 2022 · 4 comments

Comments

@jeffschwMSFT
Copy link
Member

Description

The RC1 official build has hit an error when building the workloads.

https://dev.azure.com/dnceng/internal/_build/results?buildId=1949892&view=logs&j=ad7bcd52-9916-5a50-47a2-92ef15ba97c4&t=7534b7fe-9656-5b8a-cdd1-9eb22fad156e

D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : ---> System.Exception: Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.Swix.SwixProjectBase.ValidateRelativePackagePath(String relativePackagePath) in //src/Microsoft.DotNet.Build.Tasks.Workloads/src/Swix/SwixProjectBase.cs:line 82
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.Swix.MsiSwixProject..ctor(ITaskItem msi, String baseIntermediateOutputPath, String baseOutputPath, String visualStudioProductArchitecture) in /
/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Swix/MsiSwixProject.wix.cs:line 49
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.CreateVisualStudioWorkload.<>c__DisplayClass69_0.b__2(WorkloadManifestMsi msi) in //src/Microsoft.DotNet.Build.Tasks.Workloads/src/CreateVisualStudioWorkload.wix.cs:line 440
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of stack trace from previous location --- D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.TaskReplicator.Replica.Execute()
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of inner exception stack trace ---
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of stack trace from previous location ---
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action`1 body)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.CreateVisualStudioWorkload.Execute() in /
/src/Microsoft.DotNet.Build.Tasks.Workloads/src/CreateVisualStudioWorkload.wix.cs:line 435
##[error]src\workloads\workloads.csproj(97,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)

Reproduction Steps

Build RC1

Expected behavior

Pass

Actual behavior

System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)

Regression?

No

Known Workarounds

No response

Configuration

No response

Other information

No response

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 18, 2022
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@jeffschwMSFT jeffschwMSFT added this to the 7.0.0 milestone Aug 18, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Aug 18, 2022
@jeffschwMSFT jeffschwMSFT added untriaged New issue has not been triaged by the area owner area-Infrastructure-mono blocking-release labels Aug 18, 2022
@ghost
Copy link

ghost commented Aug 18, 2022

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

The RC1 official build has hit an error when building the workloads.

https://dev.azure.com/dnceng/internal/_build/results?buildId=1949892&view=logs&j=ad7bcd52-9916-5a50-47a2-92ef15ba97c4&t=7534b7fe-9656-5b8a-cdd1-9eb22fad156e

D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : ---> System.Exception: Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.Swix.SwixProjectBase.ValidateRelativePackagePath(String relativePackagePath) in //src/Microsoft.DotNet.Build.Tasks.Workloads/src/Swix/SwixProjectBase.cs:line 82
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.Swix.MsiSwixProject..ctor(ITaskItem msi, String baseIntermediateOutputPath, String baseOutputPath, String visualStudioProductArchitecture) in /
/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Swix/MsiSwixProject.wix.cs:line 49
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.CreateVisualStudioWorkload.<>c__DisplayClass69_0.b__2(WorkloadManifestMsi msi) in //src/Microsoft.DotNet.Build.Tasks.Workloads/src/CreateVisualStudioWorkload.wix.cs:line 440
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of stack trace from previous location --- D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.<>c__DisplayClass19_01.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.TaskReplicator.Replica.Execute()
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of inner exception stack trace ---
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : --- End of stack trace from previous location ---
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally) D:\a\_work\1\s\src\workloads\workloads.csproj(97,5): error : at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action`1 body)
D:\a_work\1\s\src\workloads\workloads.csproj(97,5): error : at Microsoft.DotNet.Build.Tasks.Workloads.CreateVisualStudioWorkload.Execute() in /
/src/Microsoft.DotNet.Build.Tasks.Workloads/src/CreateVisualStudioWorkload.wix.cs:line 435
##[error]src\workloads\workloads.csproj(97,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)

Reproduction Steps

Build RC1

Expected behavior

Pass

Actual behavior

System.AggregateException: One or more errors occurred. (Relative package path exceeds the maximum length (182): MonoToolChainManifest-7.0.100.7.0.0-rc.1.22417.10,version=56.3.47130,chip=arm64,productarch=neutral\Microsoft.NET.Workload.Mono.ToolChain.Manifest-7.0.100.7.0.0-rc.1.22417.10-arm64.msi.)

Regression?

No

Known Workarounds

No response

Configuration

No response

Other information

No response

Author: jeffschwMSFT
Assignees: -
Labels:

untriaged, area-Infrastructure-mono

Milestone: 7.0.0

@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Aug 18, 2022
@jeffschwMSFT
Copy link
Member Author

@lewing

@lewing
Copy link
Member

lewing commented Aug 18, 2022

I thought this was fixed in rc1 atm but I backported the fix from main anyway

@ghost ghost locked as resolved and limited conversation to collaborators Sep 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants