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

build failing on centos.7.amd64.open.rt #2564

Closed
danmoseley opened this issue Aug 17, 2022 · 4 comments
Closed

build failing on centos.7.amd64.open.rt #2564

danmoseley opened this issue Aug 17, 2022 · 4 comments

Comments

@danmoseley
Copy link
Member

https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-performance-refs-pull-2549-merge-ada34367314d40efb9/Partition0/1/console.e9e4522d.log?helixlogtype=result

[2022/08/17 17:49:24][INFO] Build FAILED.
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018: The "GetPackageDirectory" task failed unexpectedly. [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018: System.ArgumentException: '7.0.0-*' is not a valid version string. (Parameter 'value') [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018:    at NuGet.Versioning.NuGetVersion.Parse(String value) [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GetPackageDirectory.ExecuteCore() [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]
[2022/08/17 17:49:24][INFO] /home/helixbot/work/B17209D2/w/A819091D/e/tools/dotnet/x64/sdk/7.0.100-rc.2.22417.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(255,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/helixbot/work/B17209D2/w/A819091D/e/artifacts/bin/MicroBenchmarks/Release/net7.0/a55d87f3-9864-4d0f-b7cf-0909db2b0ba6/BenchmarkDotNet.Autogenerated.csproj]

@LoopedBard3

If this is due to a parameter value being passed to the "GetPackageDirectory", we should probably also open a bug against the owners of that task as it shouldn't throw an exception.

@LoopedBard3
Copy link
Member

I went back and looked at a previously successful run (https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-performance-refs-heads-main-0f44758c7ce64b77aa/Partition1/1/console.7e903502.log?helixlogtype=result) from the 15th which seems to have used the same Toolchain value without error so I think we should see if there are any open bugs for the task and open one if not. If you know where to open the bug report go ahead and make it or dm me and I can make the bug report, I will look to see if I can narrow it down on my own until then.

@LoopedBard3
Copy link
Member

I think I narrowed it down for who to cc, making the issue.

@danmoseley
Copy link
Member Author

The talk bug would be dumping stack instead if a nice error message. I don't know what the cause of the exception is.

@LoopedBard3
Copy link
Member

The fixes appear to have been picked up in our pipeline and centos runs are succeeding. Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants