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

DotNetWatchTests are failing #2961

Closed
MichaelSimons opened this issue Aug 5, 2022 · 1 comment
Closed

DotNetWatchTests are failing #2961

MichaelSimons opened this issue Aug 5, 2022 · 1 comment
Assignees
Labels
area-testing Improvements in CI and testing

Comments

@MichaelSimons
Copy link
Member

Tests appear to have started failing with dotnet/installer@f763288

System.InvalidOperationException : Failed to execute /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/.dotnet/dotnet watch run
Exit code: 137
dotnet watch \ud83d\udd25 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
\ud83d\udca1 Press "Ctrl + R" to restart.
dotnet watch \ud83d\udd27 Building...
Determining projects to restore...
All projects are up-to-date for restore.
/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/.dotnet/sdk/7.0.100-rc.1.22405.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/projects-202208050954586202/DotNetWatchTests/DotNetWatchTests.csproj]
DotNetWatchTests -> /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/projects-202208050954586202/DotNetWatchTests/bin/Debug/net7.0/DotNetWatchTests.dll
dotnet watch \ud83d\ude80 Started
Hello, World!
dotnet watch ⌚ Exited
dotnet watch ⏳ Waiting for a file to change before restarting dotnet...
dotnet watch \ud83d\udd27 Building...
/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/.dotnet/sdk/7.0.100-rc.1.22405.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/projects-202208050954586202/DotNetWatchTests/DotNetWatchTests.csproj]
DotNetWatchTests -> /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net7.0/projects-202208050954586202/DotNetWatchTests/bin/Debug/net7.0/DotNetWatchTests.dll
dotnet watch \ud83d\ude80 Started
Hello from dotnet watch!
dotnet watch ⌚ Exited
dotnet watch ⏳ Waiting for a file to change before restarting dotnet...


Stack trace
   at Microsoft.DotNet.SourceBuild.SmokeTests.ExecuteHelper.ValidateExitCode(ValueTuple`3 result, Int32 expectedExitCode) in /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/ExecuteHelper.cs:line 110
   at Microsoft.DotNet.SourceBuild.SmokeTests.DotNetHelper.ExecuteCmd(String args, String workingDirectory, Action`1 additionalProcessConfigCallback, Int32 expectedExitCode, Int32 millisecondTimeout) in /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/DotNetHelper.cs:line 90
   at Microsoft.DotNet.SourceBuild.SmokeTests.DotNetWatchTests.WatchTests() in /tarball/test/Microsoft.DotNet.SourceBuild.SmokeTests/DotNetWatchTests.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
@lbussell
Copy link
Contributor

Fixed by dotnet/installer#14367 and dotnet/installer#14738

Repository owner moved this from WIP to Done in .NET Source Build Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Improvements in CI and testing
Projects
Archived in project
Development

No branches or pull requests

2 participants