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

DotNet test is broken on Ubuntu CI build runs #276

Open
jthelin opened this issue Jan 25, 2025 · 1 comment · May be fixed by #275
Open

DotNet test is broken on Ubuntu CI build runs #276

jthelin opened this issue Jan 25, 2025 · 1 comment · May be fixed by #275
Assignees

Comments

@jthelin
Copy link
Owner

jthelin commented Jan 25, 2025

DotNet test is broken on Ubuntu.

dotnet test --configuration Release
  shell: /usr/bin/bash -e {0}
  env:
    DOTNET_ROOT: /usr/share/dotnet
  Determining projects to restore...
  All projects are up-to-date for restore.
  HelloOwinInterfaces -> /home/runner/work/HelloOwin/HelloOwin/HelloOwinInterfaces/bin/Release/net48/HelloOwinInterfaces.dll
  HelloOwinServer -> /home/runner/work/HelloOwin/HelloOwin/HelloOwinServer/bin/Release/net48/HelloOwinServer.exe
  HelloOwinClient -> /home/runner/work/HelloOwin/HelloOwin/HelloOwinClient/bin/Release/net48/HelloOwinClient.exe
  HelloOwinTests -> /home/runner/work/HelloOwin/HelloOwin/HelloOwinTests/bin/Release/net48/HelloOwinTests.dll
Test run for /home/runner/work/HelloOwin/HelloOwin/HelloOwinTests/bin/Release/net48/HelloOwinTests.dll (.NETFramework,Version=v4.8)
VSTest version 17.11.1 (x64)

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
System.IO.FileNotFoundException: Could not find 'mono' host. Make sure that 'mono' is installed on the machine and is available in PATH environment variable.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Helpers.DotnetHostHelper.GetMonoPath() in /_/src/Microsoft.TestPlatform.CoreUtilities/Helpers/DotnetHostHelper.cs:line 93
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DefaultTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo) in /_/src/Microsoft.TestPlatform.TestHostProvider/Hosting/DefaultTestHostManager.cs:line 218
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, String runSettings) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyOperationManager.cs:line 226
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.InitializeTestRun(TestRunCriteria testRunCriteria, IInternalTestRunEventsHandler eventHandler) in /_/src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyExecutionManager.cs:line 182

Test Run Aborted.
@jthelin jthelin self-assigned this Jan 25, 2025
@jthelin
Copy link
Owner Author

jthelin commented Jan 25, 2025

@jthelin jthelin linked a pull request Jan 25, 2025 that will close this issue
@jthelin jthelin linked a pull request Jan 25, 2025 that will close this 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

Successfully merging a pull request may close this issue.

1 participant