Skip to content

upgrade xunit to v3 #1772

upgrade xunit to v3

upgrade xunit to v3 #1772

Triggered via pull request January 12, 2025 16:15
Status Failure
Total duration 11m 58s
Artifacts

test.yml

on: pull_request
Matrix: Linux
Matrix: Windows
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 71 warnings
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (main)
Process completed with exit code 1.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (latest)
Process completed with exit code 1.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Platform.Windows.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.Core2.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Assets file 'D:\a\nats.net\nats.net\tests\NATS.Client.CoreUnit.Tests\obj\project.assets.json' doesn't have a target for 'net481/win-x86'. Ensure that restore has run and that you have included 'net481' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
Windows (v2.9)
Process completed with exit code 1.
Linux (main)
Process completed with exit code 1.
Linux (latest)
Process completed with exit code 1.
Linux (v2.9)
Process completed with exit code 1.
Windows (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (main): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (main)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (main): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (main)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (latest): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (latest)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (latest): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (latest)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (v2.9): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (v2.9)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (v2.9): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Windows (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Windows (v2.9)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Windows (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (main)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linux (main): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (main)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (main): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (main)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (main): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linux (latest)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (latest)
Xunit.Runner.InProc.SystemConsole.ConsoleRunner.<EntryPoint>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.Internal.AssemblyExtensions.GetSafeLocation(Assembly): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.Internal.CommandLineParserBase.CommandLineParserBase(ConsoleHelper,IReadOnlyList`1<IRunnerReporter>,String,String[]): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.v3.InProcessFrontController.InProcessFrontController(ITestFramework,Assembly,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.Runner.Common.TransformFactory.Handler_XslTransform(String,XElement,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.v3.InProcessFrontController.<Find>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.v3.InProcessFrontController.<Find>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.v3.XunitTestAssembly.AssemblyPath.get: 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
Xunit.v3.XunitTestAssembly.XunitTestAssembly(Assembly,String,Version,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (latest)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (latest): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (latest)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (latest): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (latest): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (v2.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linux (v2.9): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (v2.9)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (v2.9): tests/NATS.Client.Perf/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Linux (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net6.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (v2.9)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (v2.9): tests/NATS.Client.Core.MemoryTests/obj/Release/net8.0/TestPlatformEntryPoint.cs#L10
Method 'TestingPlatformEntryPoint.Main(string[])' will not be used as an entry point because a synchronous entry point 'AutoGeneratedProgram.Main(string[])' was found.
Linux (v2.9)
The entry point of the program is global code; ignoring 'XunitAutoGeneratedEntryPoint.Main(string[])' entry point.
Linux (v2.9)
Xunit.Runner.InProc.SystemConsole.ConsoleRunner.<EntryPoint>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.Internal.AssemblyExtensions.GetSafeLocation(Assembly): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.Internal.CommandLineParserBase.CommandLineParserBase(ConsoleHelper,IReadOnlyList`1<IRunnerReporter>,String,String[]): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.v3.InProcessFrontController.InProcessFrontController(ITestFramework,Assembly,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.Runner.Common.TransformFactory.Handler_XslTransform(String,XElement,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.v3.InProcessFrontController.<Find>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.v3.InProcessFrontController.<Find>d__11.MoveNext(): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.v3.XunitTestAssembly.AssemblyPath.get: 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Linux (v2.9)
Xunit.v3.XunitTestAssembly.XunitTestAssembly(Assembly,String,Version,String): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.