Skip to content

Add tests to CI

Add tests to CI #21

Triggered via pull request January 16, 2024 15:59
Status Failure
Total duration 3m 58s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Reqnroll.Specs.Features._NETLanguageCode_BehindGenerationSupportFeature_xUnit_Net60_New_CSharp ► A project with a single scenario should compile successfully in all supported languages and build systems(description: "C# with MSBuild", language: "C#", b...: Reqnroll.TestProjectGenerator/Reqnroll.TestProjectGenerator/VSTestExecutionDriver.cs#L90
Failed test found in: Tests/Reqnroll.Specs/TestResults/specs-xunit-results.trx Error: System.AggregateException : One or more errors occurred. (Expected trxFilePaths to contain at least 1 item(s) because at least one TRX file should be generated by the test run; these have been generated: , but found 0: {empty}.) ---- Expected trxFilePaths to contain at least 1 item(s) because at least one TRX file should be generated by the test run; these have been generated: , but found 0: {empty}.
Reqnroll.Specs.Features._NETLanguageCode_BehindGenerationSupportFeature_xUnit_Net60_New_CSharp ► A project with a single scenario should compile successfully in all supported languages and build systems(description: "VB.NET with MSBuild", language: "VB...: Reqnroll.TestProjectGenerator/Reqnroll.TestProjectGenerator/VSTestExecutionDriver.cs#L90
Failed test found in: Tests/Reqnroll.Specs/TestResults/specs-xunit-results.trx Error: System.AggregateException : One or more errors occurred. (Expected trxFilePaths to contain at least 1 item(s) because at least one TRX file should be generated by the test run; these have been generated: , but found 0: {empty}.) ---- Expected trxFilePaths to contain at least 1 item(s) because at least one TRX file should be generated by the test run; these have been generated: , but found 0: {empty}.
Reqnroll.Specs.Features.MultipleSpecsProjectsFeature_xUnit_Net60_New_CSharp ► Two projects with the same unit test provider(buildTool: "MSBuild", exampleTags: ["requiresMsBuild", "globalusingdirective"]): Reqnroll.TestProjectGenerator/Reqnroll.TestProjectGenerator/Driver/CompilationResultDriver.cs#L12
Failed test found in: Tests/Reqnroll.Specs/TestResults/specs-xunit-results.trx Error: Expected CompileResult.IsSuccessful to be true because the project should have compiled successfully. ------ Build output ------ Microsoft (R) Build Engine version 16.10.1 for Mono Copyright (C) Microsoft Corporation. All rights reserved. /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll -binaryLogger:;ProjectImports=None -nodeReuse:false -restore -v:m /tmp/RR/S851fa185/S851fa185.sln Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch. MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] MSBUILD : error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: The "NuGet.Build.Tasks.GetRestoreSolutionProjectsTask" task could not be loaded from the assembly /usr/share/dotnet/sdk/6.0.418/NuGet.Build.Tasks.dll. Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/tmp/RR/S851fa185/S851fa185.sln] /usr/share/dotnet/sdk/6.0.418/NuGet.targets(307,5): error MSB4062: Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [/tmp/RR/S851fa185/S851fa185.sln] , but found False.
specs
Process completed with exit code 1.
specs
Failed test were found and 'fail-on-error' option is set to true

Artifacts

Produced during runtime
Name Size
specs-results Expired
193 KB