Fix updating for dependencies that were explicitly installed #506
❌️ Test Results - 123/128, failed: 5 - Failed in 488.361s
❌️ editmode-results.xml - 123/128, failed: 5 - Failed in 488.361s
Details
❌️ editmode-results.xml - 123/128, failed: 5 - Failed in 488.361s
-
❌️ NuGetTests.InstallJsonTest - 0/3, failed: 3 - Failed in 2.288s
-
❌️ InstallJsonTest(ApiV2Only) - Failed in 1.497s
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: FalseAlready imported libs: UnityEngine, UnityEngine.AIModule, UnityEngine.ARModule, UnityEngine.AccessibilityModule, UnityEngine.AnimationModule, UnityEngine.AssetBundleModule, UnityEngine.AudioModule, UnityEngine.BaselibModule, UnityEngine.ClothModule, UnityEngine.ClusterInputModule, UnityEngine.ClusterRendererModule, UnityEngine.CoreModule, UnityEngine.CrashReportingModule, UnityEngine.DirectorModule, UnityEngine.FileSystemHttpModule, UnityEngine.GameCenterModule, UnityEngine.GridModule, UnityEngine.HotReloadModule, UnityEngine.IMGUIModule, UnityEngine.ImageConversionModule, UnityEngine.InputModule, UnityEngine.JSONSerializeModule, UnityEngine.LocalizationModule, UnityEngine.ParticleSystemModule, UnityEngine.PerformanceReportingModule, UnityEngine.PhysicsModule, UnityEngine.Physics2DModule, UnityEngine.ProfilerModule, UnityEngine.ScreenCaptureModule, UnityEngine.SharedInternalsModule, UnityEngine.SpatialTrackingModule, UnityEngine.SpriteMaskModule, UnityEngine.SpriteShapeModule, UnityEngine.StreamingModule, UnityEngine.StyleSheetsModule, UnityEngine.SubstanceModule, UnityEngine.TLSModule, UnityEngine.TerrainModule, UnityEngine.TerrainPhysicsModule, UnityEngine.TextCoreModule, UnityEngine.TextRenderingModule, UnityEngine.TilemapModule, UnityEngine.TimelineModule, UnityEngine.UIModule, UnityEngine.UIElementsModule, UnityEngine.UNETModule, UnityEngine.UmbraModule, UnityEngine.UnityAnalyticsModule, UnityEngine.UnityConnectModule, UnityEngine.UnityTestProtocolModule, UnityEngine.UnityWebRequestModule, UnityEngine.UnityWebRequestAssetBundleModule, UnityEngine.UnityWebRequestAudioModule, UnityEngine.UnityWebRequestTextureModule, UnityEngine.UnityWebRequestWWWModule, UnityEngine.VFXModule, UnityEngine.VRModule, UnityEngine.VehiclesModule, UnityEngine.VideoModule, UnityEngine.WindModule, UnityEngine.XRModule, UnityEngine.UI, UnityEngine.TestRunner, nunit.framework, UnityEngine.Timeline, UnityEngine.Networking, UnityEngine.SpatialTracking, netstandard, Microsoft.Win32.Primitives, System.AppContext, System.Collections.Concurrent, System.Collections.NonGeneric, System.Collections.Specialized, System.Collections, System.ComponentModel.EventBasedAsync, System.ComponentModel.Primitives, System.ComponentModel.TypeConverter, System.ComponentModel, System.Console, System.Data.Common, System.Diagnostics.Contracts, System.Diagnostics.Debug, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.StackTrace, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.Tools, System.Diagnostics.TraceSource, System.Diagnostics.Tracing, System.Drawing.Primitives, System.Dynamic.Runtime, System.Globalization.Calendars, System.Globalization.Extensions, System.Globalization, System.IO.Compression.ZipFile, System.IO.Compression, System.IO.FileSystem.DriveInfo, System.IO.FileSystem.Primitives, System.IO.FileSystem.Watcher, System.IO.FileSystem, System.IO.IsolatedStorage, System.IO.MemoryMappedFiles, System.IO.Pipes, System.IO.UnmanagedMemoryStream, System.IO, System.Linq.Expressions, System.Linq.Parallel, System.Linq.Queryable, System.Linq, System.Net.Http, System.Net.NameResolution, System.Net.NetworkInformation, System.Net.Ping, System.Net.Primitives, System.Net.Requests, System.Net.Security, System.Net.Sockets, System.Net.WebHeaderCollection, System.Net.WebSockets.Client, System.Net.WebSockets, System.ObjectModel, System.Reflection.Extensions, System.Reflection.Primitives, System.Reflection, System.Resources.Reader, System.Resources.ResourceManager, System.Resources.Writer, System.Runtime.CompilerServices.VisualC, System.Runtime.Extensions, System.Runtime.Handles, System.Runtime.InteropServices.RuntimeInformation, System.Runtime.InteropServices, System.Runtime.Numerics, System.Runtime.Serialization.Formatters, System.Runtime.Serialization.Json, System.Runtime.Serialization.Primitives, System.Runtime.Serialization.Xml, System.Runtime, System.Security.Claims, System.Security.Cryptography.Algorithms, System.Security.Cryptography.Csp, System.Security.Cryptography.Encoding, System.Security.Cryptography.Primitives, System.Security.Cryptography.X509Certificates, System.Security.Principal, System.Security.SecureString, System.Text.Encoding.Extensions, System.Text.Encoding, System.Text.RegularExpressions, System.Threading.Overlapped, System.Threading.Tasks.Parallel, System.Threading.Tasks, System.Threading.Thread, System.Threading.ThreadPool, System.Threading.Timer, System.Threading, System.ValueTuple, System.Xml.ReaderWriter, System.Xml.XDocument, System.Xml.XPath.XDocument, System.Xml.XPath, System.Xml.XmlDocument, System.Xml.XmlSerializer, System.Numerics.Vectors, System.Runtime.InteropServices.WindowsRuntime, System.ComponentModel.Composition, System.Core, System.Data, System.Drawing, System.IO.Compression.FileSystem, System.Net, System.Numerics, System.Runtime.Serialization, System.ServiceModel.Web, System.Transactions, System.Web, System.Windows, System.Xml.Linq, System.Xml.Serialization, System.Xml, System, mscorlib, NETStandard.Library, Microsoft.NETCore.Platforms, Microsoft.CSharp Already imported editor only libraries: Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='6.0.8') Getting credential for http://www.nuget.org/api/v2 HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='6.0.8') Received 1 packages in 455 ms Newtonsoft.Json 6.0.8 not found, using 6.0.8 Installing: Newtonsoft.Json 6.0.8 Selecting (null) as the best target framework for current settings Downloading package Newtonsoft.Json 6.0.8 Getting credential for https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.8 HTTP GET https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.8 Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8 Cleaning src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Moving src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools Plug-in loaded for file: Assets/packages.config Getting installed packages took 5 ms No packages need restoring. Restoring packages took 1 ms Plug-in loaded for file: Assets/packages.config Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range. Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1') HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1') Received 1 packages in 22 ms Newtonsoft.Json 7.0.1 not found, using 7.0.1 Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1 Uninstalling: Newtonsoft.Json 6.0.8 Deleting directory: src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Deleting directory: src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8 Plug-in loaded for file: Assets/packages.config Getting installed packages took 0 ms No packages need restoring. Restoring packages took 0 ms Plug-in loaded for file: Assets/packages.config at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
-
❌️ InstallJsonTest(ApiV3Only) - Failed in 0.652s
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: FalseGetting credential for https://api.nuget.org/v3/index.json Newtonsoft.Json 6.0.8 not found, using 6.0.8 Installing: Newtonsoft.Json 6.0.8 Selecting (null) as the best target framework for current settings Downloading package Newtonsoft.Json 6.0.8 Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8 Cleaning src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Moving src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools Plug-in loaded for file: Assets/packages.config Getting installed packages took 1 ms No packages need restoring. Restoring packages took 0 ms Plug-in loaded for file: Assets/packages.config Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range. Newtonsoft.Json 7.0.1 not found, using 7.0.1 Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1 Uninstalling: Newtonsoft.Json 6.0.8 Deleting directory: src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Deleting directory: src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8 at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
-
❌️ InstallJsonTest(ApiV2AllowCached) - Failed in 0.139s
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: FalseFound exact package in the cache: /root/.local/share/NuGet/Cache/Newtonsoft.Json.6.0.8.nupkg Installing: Newtonsoft.Json 6.0.8 Selecting (null) as the best target framework for current settings Cached package found for Newtonsoft.Json 6.0.8 Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8 Cleaning src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Moving src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range. Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1') HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1') Received 1 packages in 41 ms Newtonsoft.Json 7.0.1 not found, using 7.0.1 Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1 Uninstalling: Newtonsoft.Json 6.0.8 Deleting directory: src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8 Deleting directory: src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8 at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
-
-
✅ NuGetTests.GetRelativePathTest - 12/12 - Passed in 0.268s
- ✅ GetRelativePathTest("Assets","Assets") - Passed in 0.028s
- ✅ GetRelativePathTest(".",".") - Passed in 0.022s
- ✅ GetRelativePathTest("","") - Passed in 0.022s
- ✅ GetRelativePathTest("Assets/../../","..") - Passed in 0.022s
- ✅ GetRelativePathTest("Assets/../../../","../..") - Passed in 0.022s
- ✅ GetRelativePathTest("M:/Test","M:/Test") - Passed in 0.022s
- ✅ GetRelativePathTest("./Assets","Assets") - Passed in 0.022s
- ✅ GetRelativePathTest("a/b/c","a/b/c") - Passed in 0.022s
- ✅ GetRelativePathTest("../../","../..") - Passed in 0.022s
- ✅ GetRelativePathTest("../..","../..") - Passed in 0.022s
- ✅ GetRelativePathTest("M:/Test/","M:/Test/") - Passed in 0.022s
- ✅ GetRelativePathTest("M:/Test/test.txt","M:/Test/test.txt") - Passed in 0.022s
-
✅ NuGetTests.InstallAndSearchLocalPackageSource - 2/2 - Passed in 1.256s
- ✅ InstallAndSearchLocalPackageSource(True) - Passed in 0.749s
- ✅ InstallAndSearchLocalPackageSource(False) - Passed in 0.507s
-
✅ NuGetTests.InstallBootstrapCssTest - 3/3 - Passed in 5.661s
- ✅ InstallBootstrapCssTest(ApiV2Only) - Passed in 2.314s
- ✅ InstallBootstrapCssTest(ApiV3Only) - Passed in 1.725s
- ✅ InstallBootstrapCssTest(ApiV2AllowCached) - Passed in 1.622s
-
✅ NuGetTests.InstallBouncyCastleTest - 3/3 - Passed in 4.711s
- ✅ InstallBouncyCastleTest(ApiV2Only) - Passed in 1.667s
- ✅ InstallBouncyCastleTest(ApiV3Only) - Passed in 1.593s
- ✅ InstallBouncyCastleTest(ApiV2AllowCached) - Passed in 1.450s
-
✅ NuGetTests.InstallMicrosoftMlProbabilisticCompilerTest - 3/3 - Passed in 65.676s
- ✅ InstallMicrosoftMlProbabilisticCompilerTest(ApiV2Only) - Passed in 25.956s
- ✅ InstallMicrosoftMlProbabilisticCompilerTest(ApiV3Only) - Passed in 21.603s
- ✅ InstallMicrosoftMlProbabilisticCompilerTest(ApiV2AllowCached) - Passed in 18.116s
-
✅ NuGetTests.InstallPolySharp - 3/3 - Passed in 5.617s
- ✅ InstallPolySharp(ApiV2Only) - Passed in 2.304s
- ✅ InstallPolySharp(ApiV3Only) - Passed in 1.801s
- ✅ InstallPolySharp(ApiV2AllowCached) - Passed in 1.512s
-
✅ NuGetTests.InstallPrereleasPackage - 3/3 - Passed in 32.728s
- ✅ InstallPrereleasPackage(ApiV2Only) - Passed in 11.690s
- ✅ InstallPrereleasPackage(ApiV3Only) - Passed in 10.841s
- ✅ InstallPrereleasPackage(ApiV2AllowCached) - Passed in 10.197s
-
✅ NuGetTests.InstallProtobufTest - 3/3 - Passed in 1.158s
- ✅ InstallProtobufTest(ApiV2Only) - Passed in 0.467s
- ✅ InstallProtobufTest(ApiV3Only) - Passed in 0.512s
- ✅ InstallProtobufTest(ApiV2AllowCached) - Passed in 0.179s
-
✅ NuGetTests.InstallRoslynAnalyzerTest - 3/3 - Passed in 13.861s
- ✅ InstallRoslynAnalyzerTest(ApiV2Only) - Passed in 5.015s
- ✅ InstallRoslynAnalyzerTest(ApiV3Only) - Passed in 4.519s
- ✅ InstallRoslynAnalyzerTest(ApiV2AllowCached) - Passed in 4.326s
-
✅ NuGetTests.InstallRoslynAnalyzerWithMultipleVersionsTest - 4/4 - Passed in 236.846s
- ✅ InstallRoslynAnalyzerWithMultipleVersionsTest("2020.2.1f1","") - Passed in 60.362s
- ✅ InstallRoslynAnalyzerWithMultipleVersionsTest("2021.2.1f1","") - Passed in 58.814s
- ✅ InstallRoslynAnalyzerWithMultipleVersionsTest("2022.2.1f1","4.0") - Passed in 58.848s
- ✅ InstallRoslynAnalyzerWithMultipleVersionsTest("2022.3.12f1","4.0") - Passed in 58.823s
-
✅ NuGetTests.InstallSignalRClientTest - 3/3 - Passed in 8.146s
- ✅ InstallSignalRClientTest(ApiV2Only) - Passed in 3.559s
- ✅ InstallSignalRClientTest(ApiV3Only) - Passed in 2.682s
- ✅ InstallSignalRClientTest(ApiV2AllowCached) - Passed in 1.905s
-
✅ NuGetTests.InstallStyleCopTest - 3/3 - Passed in 3.196s
- ✅ InstallStyleCopTest(ApiV2Only) - Passed in 1.723s
- ✅ InstallStyleCopTest(ApiV3Only) - Passed in 1.213s
- ✅ InstallStyleCopTest(ApiV2AllowCached) - Passed in 0.260s
-
✅ NuGetTests.PackageSourceCredentialsTest - 3/3 - Passed in 0.147s
- ✅ PackageSourceCredentialsTest("Illegal space") - Passed in 0.098s
- ✅ PackageSourceCredentialsTest("Illegal@at") - Passed in 0.024s
- ✅ PackageSourceCredentialsTest("SimpleName") - Passed in 0.025s
-
❌️ NuGetTests.TestPostprocessDifferentVersion - 1/2, failed: 1 - Failed in 1.984s
-
✅ TestPostprocessDifferentVersion("jQuery","3.6.4","3.7.0") - Passed in 1.623s
-
❌️ TestPostprocessDifferentVersion("jQuery","3.7.0","3.6.4") - Failed in 0.361s
The new package version was NOT installed: jQuery 3.6.4
Expected: True
But was: FalseFound exact package in the cache: /root/.local/share/NuGet/Cache/jQuery.3.7.0.nupkg Installing: jQuery 3.7.0 Selecting (null) as the best target framework for current settings Cached package found for jQuery 3.7.0 Cleaning src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0 Getting installed packages took 2 ms Restoring 1 packages. ---Restoring jQuery 3.6.4 Requested jQuery 3.6.4. 3.7.0 is already installed, but config demands lower version. Found exact package in the cache: /root/.local/share/NuGet/Cache/jQuery.3.6.4.nupkg jQuery 3.7.0 is installed explicitly so it will not be replaced with 3.6.4 ---DELETE unnecessary package src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0 Deleting directory: src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0 Getting installed packages took 0 ms Restoring packages took 18 ms Failed to import plug-in at src/NuGetForUnity.Tests/Assets/packages.config NuGetForUnity: failed to process: 'src/NuGetForUnity.Tests/Assets/packages.config' (ConfigurationFile) at NuGetTests.TestPostprocessDifferentVersion (System.String packageId, System.String packageVersionOld, System.String packageVersionNew) [0x000b7] in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:1015
-
-
✅ NuGetTests.TestPostprocessInstall - 1/1 - Passed in 0.331s
- ✅ TestPostprocessInstall("jQuery","3.7.0") - Passed in 0.331s
-
✅ NuGetTests.TestPostprocessUninstall - 1/1 - Passed in 0.350s
- ✅ TestPostprocessUninstall("jQuery","3.7.0") - Passed in 0.350s
-
✅ NuGetTests.TestSerializeNugetPackageIdentifier - 4/4 - Passed in 0.096s
- ✅ TestSerializeNugetPackageIdentifier("4.7.0-pre-release+a5b8d") - Passed in 0.026s
- ✅ TestSerializeNugetPackageIdentifier("4.7.0+a5b8d") - Passed in 0.024s
- ✅ TestSerializeNugetPackageIdentifier("4.7.0") - Passed in 0.022s
- ✅ TestSerializeNugetPackageIdentifier("[1.0,2.0]") - Passed in 0.023s
-
✅ NuGetTests.TestSlimRestoreInstall - 1/1 - Passed in 2.220s
- ✅ TestSlimRestoreInstall("Microsoft.Extensions.Logging","7.0.0") - Passed in 2.220s
-
✅ NuGetTests.TestSourceCodePackageInstall - 2/2 - Passed in 91.762s
- ✅ TestSourceCodePackageInstall("Microsoft.Azure.WebJobs.Sources","3.0.37") - Passed in 63.833s
- ✅ TestSourceCodePackageInstall("NServiceBus.Testing.Fakes.Sources","7.1.13") - Passed in 27.929s
-
✅ NuGetTests.TryGetBestTargetFrameworkForCurrentSettingsTest - 4/4 - Passed in 0.092s
- ✅ TryGetBestTargetFrameworkForCurrentSettingsTest("2018.4.30f1",False,False,False) - Passed in 0.028s
- ✅ TryGetBestTargetFrameworkForCurrentSettingsTest("2018.4.30f1",True,False,False) - Passed in 0.020s
- ✅ TryGetBestTargetFrameworkForCurrentSettingsTest("2021.3.16f1",False,True,True) - Passed in 0.024s
- ✅ TryGetBestTargetFrameworkForCurrentSettingsTest("2021.3.16f1",True,True,True) - Passed in 0.020s
-
✅ NuGetTests.TryGetBestTargetFrameworkPreferNetStandardTest - 2/2 - Passed in 0.045s
- ✅ TryGetBestTargetFrameworkPreferNetStandardTest("2021.3.16f1",True,System.String[],System.String[]) - Passed in 0.023s
- ✅ TryGetBestTargetFrameworkPreferNetStandardTest("2021.3.16f1",False,System.String[],System.String[]) - Passed in 0.022s
-
✅ NuGetTests.VersionComparison - 14/14 - Passed in 0.309s
- ✅ VersionComparison("1.0.0-rc1","1.0.0") - Passed in 0.022s
- ✅ VersionComparison("1.0.0-rc1","1.0.0-rc2") - Passed in 0.022s
- ✅ VersionComparison("1.2.3","1.2.4") - Passed in 0.022s
- ✅ VersionComparison("1.2.3","1.3.0") - Passed in 0.022s
- ✅ VersionComparison("1.2.3","2.0.0") - Passed in 0.022s
- ✅ VersionComparison("1.2.3-rc1","1.2.4") - Passed in 0.024s
- ✅ VersionComparison("1.2.3-rc1","1.3.0") - Passed in 0.022s
- ✅ VersionComparison("1.2.3-rc1","2.0.0") - Passed in 0.022s
- ✅ VersionComparison("1.2.3+1234","1.2.4") - Passed in 0.022s
- ✅ VersionComparison("1.2.3-rc1+1234","1.2.4") - Passed in 0.022s
- ✅ VersionComparison("1.2.3-rc1+1234","1.2.3-rc2") - Passed in 0.022s
- ✅ VersionComparison("1.2.3-rc1+1234","1.2.3-rc2+1234") - Passed in 0.022s
- ✅ VersionComparison("1.0.0","1.0.0.10") - Passed in 0.022s
- ✅ VersionComparison("1.0.0-beta.9","1.0.0-beta.10") - Passed in 0.022s
-
✅ NuGetTests.VersionComparisonEqual - 13/13 - Passed in 0.288s
- ✅ VersionComparisonEqual("1.0.0","1.00.0") - Passed in 0.024s
- ✅ VersionComparisonEqual("1.0.0","1.0.00") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0","01.0.0") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0","1.0") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0","1.0.0.0") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0-rc1","1.0.00-rc1") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0-rc1","1.0-rc1") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0-rc.1","1.0.0-RC.1") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0+123","1.0.0") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0+123","1.0") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0+123","1.0.0+478") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0-rc1+123","1.0.0-rc1") - Passed in 0.022s
- ✅ VersionComparisonEqual("1.0.0-rc1+123","1.0.0-rc1+478") - Passed in 0.022s
-
✅ NuGetTests.VersionInRangeTest - 15/15 - Passed in 0.338s
- ✅ VersionInRangeTest("1.0","1.0") - Passed in 0.022s
- ✅ VersionInRangeTest("1.0","2.0") - Passed in 0.022s
- ✅ VersionInRangeTest("(1.0,)","2.0") - Passed in 0.022s
- ✅ VersionInRangeTest("[1.0]","1.0") - Passed in 0.022s
- ✅ VersionInRangeTest("(,1.0]","0.5") - Passed in 0.022s
- ✅ VersionInRangeTest("(,1.0]","1.0") - Passed in 0.022s
- ✅ VersionInRangeTest("(,1.0)","0.5") - Passed in 0.022s
- ✅ VersionInRangeTest("[1.0,2.0]","1.0") - Passed in 0.023s
- ✅ VersionInRangeTest("[1.0,2.0]","2.0") - Passed in 0.024s
- ✅ VersionInRangeTest("(1.0,2.0)","1.5") - Passed in 0.023s
- ✅ VersionInRangeTest("(1.0,2.0)","[1.5,]") - Passed in 0.023s
- ✅ VersionInRangeTest("(1.0,2.0)","(1.5,)") - Passed in 0.023s
- ✅ VersionInRangeTest("[1.0,2.0]","(1.5,)") - Passed in 0.022s
- ✅ VersionInRangeTest("(1.0,2.0]","[2.0,]") - Passed in 0.022s
- ✅ VersionInRangeTest("[1.0,2.0]","[0.1,1.0]") - Passed in 0.022s
-
✅ NuGetTests.VersionOutOfRangeTest - 13/13 - Passed in 0.289s
- ✅ VersionOutOfRangeTest("1.0","0.5") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(1.0,)","1.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("[1.0]","2.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(,1.0]","2.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(,1.0)","1.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("[1.0,2.0]","0.5") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("[1.0,2.0]","3.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(1.0,2.0)","1.0") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(1.0,2.0)","2.0") - Passed in 0.023s
- ✅ VersionOutOfRangeTest("(1.0,2.0)","[2.0,]") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(1.0,2.0]","(2.0,]") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("[1.0,2.0]","[0.1,1.0)") - Passed in 0.022s
- ✅ VersionOutOfRangeTest("(1.0,2.0]","[0.1,1.0]") - Passed in 0.022s
-
❌️ NuGetTests - 4/5, failed: 1 - Failed in 4.195s
-
✅ SimpleRestoreTest - Passed in 0.042s
-
✅ InstallJsonWithTargetFrameworkOverwriteTest - Passed in 1.750s
-
✅ InstallStyleCopWithoutDependenciesTest - Passed in 0.188s
-
✅ LoadConfigFileTest - Passed in 0.023s
-
❌️ TestUpgrading - Failed in 2.193s
The package was NOT installed: System.ComponentModel.Annotations 5.0.0
Expected: True
But was: FalseGetting packages from: http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='4.7.0') HTTP GET http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='4.7.0') Received 1 packages in 21 ms System.ComponentModel.Annotations 4.7.0 was found in NuGet System.ComponentModel.Annotations 4.7.0 not found, using 4.7.0 Installing: System.ComponentModel.Annotations 4.7.0 Selecting netstandard2.0 as the best target framework for current settings Installing dependencies for TargetFramework: netstandard2.0 Downloading package System.ComponentModel.Annotations 4.7.0 Getting credential for https://www.nuget.org/api/v2/package/System.ComponentModel.Annotations/4.7.0 HTTP GET https://www.nuget.org/api/v2/package/System.ComponentModel.Annotations/4.7.0 Selecting target framework directory 'netstandard2.0' as best match for the package System.ComponentModel.Annotations.4.7.0 Cleaning src/NuGetForUnity.Tests/Assets/Packages/System.ComponentModel.Annotations.4.7.0 Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll NuGetForUnity: successfully processed: 'Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll' (GeneralSetting) Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll NuGetForUnity: successfully processed: 'Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll' (GeneralSetting) Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll Already imported libs: UnityEngine, UnityEngine.AIModule, UnityEngine.ARModule, UnityEngine.AccessibilityModule, UnityEngine.AnimationModule, UnityEngine.AssetBundleModule, UnityEngine.AudioModule, UnityEngine.BaselibModule, UnityEngine.ClothModule, UnityEngine.ClusterInputModule, UnityEngine.ClusterRendererModule, UnityEngine.CoreModule, UnityEngine.CrashReportingModule, UnityEngine.DirectorModule, UnityEngine.FileSystemHttpModule, UnityEngine.GameCenterModule, UnityEngine.GridModule, UnityEngine.HotReloadModule, UnityEngine.IMGUIModule, UnityEngine.ImageConversionModule, UnityEngine.InputModule, UnityEngine.JSONSerializeModule, UnityEngine.LocalizationModule, UnityEngine.ParticleSystemModule, UnityEngine.PerformanceReportingModule, UnityEngine.PhysicsModule, UnityEngine.Physics2DModule, UnityEngine.ProfilerModule, UnityEngine.ScreenCaptureModule, UnityEngine.SharedInternalsModule, UnityEngine.SpatialTrackingModule, UnityEngine.SpriteMaskModule, UnityEngine.SpriteShapeModule, UnityEngine.StreamingModule, UnityEngine.StyleSheetsModule, UnityEngine.SubstanceModule, UnityEngine.TLSModule, UnityEngine.TerrainModule, UnityEngine.TerrainPhysicsModule, UnityEngine.TextCoreModule, UnityEngine.TextRenderingModule, UnityEngine.TilemapModule, UnityEngine.TimelineModule, UnityEngine.UIModule, UnityEngine.UIElementsModule, UnityEngine.UNETModule, UnityEngine.UmbraModule, UnityEngine.UnityAnalyticsModule, UnityEngine.UnityConnectModule, UnityEngine.UnityTestProtocolModule, UnityEngine.UnityWebRequestModule, UnityEngine.UnityWebRequestAssetBundleModule, UnityEngine.UnityWebRequestAudioModule, UnityEngine.UnityWebRequestTextureModule, UnityEngine.UnityWebRequestWWWModule, UnityEngine.VFXModule, UnityEngine.VRModule, UnityEngine.VehiclesModule, UnityEngine.VideoModule, UnityEngine.WindModule, UnityEngine.XRModule, UnityEngine.UI, UnityEngine.TestRunner, nunit.framework, UnityEngine.Timeline, UnityEngine.Networking, UnityEngine.SpatialTracking, netstandard, Microsoft.Win32.Primitives, System.AppContext, System.Collections.Concurrent, System.Collections.NonGeneric, System.Collections.Specialized, System.Collections, System.ComponentModel.EventBasedAsync, System.ComponentModel.Primitives, System.ComponentModel.TypeConverter, System.ComponentModel, System.Console, System.Data.Common, System.Diagnostics.Contracts, System.Diagnostics.Debug, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.StackTrace, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.Tools, System.Diagnostics.TraceSource, System.Diagnostics.Tracing, System.Drawing.Primitives, System.Dynamic.Runtime, System.Globalization.Calendars, System.Globalization.Extensions, System.Globalization, System.IO.Compression.ZipFile, System.IO.Compression, System.IO.FileSystem.DriveInfo, System.IO.FileSystem.Primitives, System.IO.FileSystem.Watcher, System.IO.FileSystem, System.IO.IsolatedStorage, System.IO.MemoryMappedFiles, System.IO.Pipes, System.IO.UnmanagedMemoryStream, System.IO, System.Linq.Expressions, System.Linq.Parallel, System.Linq.Queryable, System.Linq, System.Net.Http, System.Net.NameResolution, System.Net.NetworkInformation, System.Net.Ping, System.Net.Primitives, System.Net.Requests, System.Net.Security, System.Net.Sockets, System.Net.WebHeaderCollection, System.Net.WebSockets.Client, System.Net.WebSockets, System.ObjectModel, System.Reflection.Extensions, System.Reflection.Primitives, System.Reflection, System.Resources.Reader, System.Resources.ResourceManager, System.Resources.Writer, System.Runtime.CompilerServices.VisualC, System.Runtime.Extensions, System.Runtime.Handles, System.Runtime.InteropServices.RuntimeInformation, System.Runtime.InteropServices, System.Runtime.Numerics, System.Runtime.Serialization.Formatters, System.Runtime.Serialization.Json, System.Runtime.Serialization.Primitives, System.Runtime.Serialization.Xml, System.Runtime, System.Security.Claims, System.Security.Cryptography.Algorithms, System.Security.Cryptography.Csp, System.Security.Cryptography.Encoding, System.Security.Cryptography.Primitives, System.Security.Cryptography.X509Certificates, System.Security.Principal, System.Security.SecureString, System.Text.Encoding.Extensions, System.Text.Encoding, System.Text.RegularExpressions, System.Threading.Overlapped, System.Threading.Tasks.Parallel, System.Threading.Tasks, System.Threading.Thread, System.Threading.ThreadPool, System.Threading.Timer, System.Threading, System.ValueTuple, System.Xml.ReaderWriter, System.Xml.XDocument, System.Xml.XPath.XDocument, System.Xml.XPath, System.Xml.XmlDocument, System.Xml.XmlSerializer, System.Numerics.Vectors, System.Runtime.InteropServices.WindowsRuntime, System.ComponentModel.Composition, System.Core, System.Data, System.Drawing, System.IO.Compression.FileSystem, System.Net, System.Numerics, System.Runtime.Serialization, System.ServiceModel.Web, System.Transactions, System.Web, System.Windows, System.Xml.Linq, System.Xml.Serialization, System.Xml, System, mscorlib, NETStandard.Library, Microsoft.NETCore.Platforms, Microsoft.CSharp Already imported editor only libraries: Requested System.ComponentModel.Annotations 5.0.0. 4.7.0 is already installed, but it is out of range. Getting packages from: http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='5.0.0') HTTP GET http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='5.0.0') Received 1 packages in 41 ms System.ComponentModel.Annotations 5.0.0 was found in NuGet System.ComponentModel.Annotations 5.0.0 not found, using 5.0.0 System.ComponentModel.Annotations 4.7.0 is installed explicitly so it will not be replaced with 5.0.0 Uninstalling: System.ComponentModel.Annotations 4.7.0 Deleting directory: src/NuGetForUnity.Tests/Assets/Packages/System.ComponentModel.Annotations.4.7.0 at NuGetTests.TestUpgrading () [0x000a8] in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:899
-
Annotations
Check failure on line 76 in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs
github-actions / Test Results
NuGetTests.InstallJsonTest(ApiV2Only)
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: False
Raw output
Already imported libs: UnityEngine, UnityEngine.AIModule, UnityEngine.ARModule, UnityEngine.AccessibilityModule, UnityEngine.AnimationModule, UnityEngine.AssetBundleModule, UnityEngine.AudioModule, UnityEngine.BaselibModule, UnityEngine.ClothModule, UnityEngine.ClusterInputModule, UnityEngine.ClusterRendererModule, UnityEngine.CoreModule, UnityEngine.CrashReportingModule, UnityEngine.DirectorModule, UnityEngine.FileSystemHttpModule, UnityEngine.GameCenterModule, UnityEngine.GridModule, UnityEngine.HotReloadModule, UnityEngine.IMGUIModule, UnityEngine.ImageConversionModule, UnityEngine.InputModule, UnityEngine.JSONSerializeModule, UnityEngine.LocalizationModule, UnityEngine.ParticleSystemModule, UnityEngine.PerformanceReportingModule, UnityEngine.PhysicsModule, UnityEngine.Physics2DModule, UnityEngine.ProfilerModule, UnityEngine.ScreenCaptureModule, UnityEngine.SharedInternalsModule, UnityEngine.SpatialTrackingModule, UnityEngine.SpriteMaskModule, UnityEngine.SpriteShapeModule, UnityEngine.StreamingModule, UnityEngine.StyleSheetsModule, UnityEngine.SubstanceModule, UnityEngine.TLSModule, UnityEngine.TerrainModule, UnityEngine.TerrainPhysicsModule, UnityEngine.TextCoreModule, UnityEngine.TextRenderingModule, UnityEngine.TilemapModule, UnityEngine.TimelineModule, UnityEngine.UIModule, UnityEngine.UIElementsModule, UnityEngine.UNETModule, UnityEngine.UmbraModule, UnityEngine.UnityAnalyticsModule, UnityEngine.UnityConnectModule, UnityEngine.UnityTestProtocolModule, UnityEngine.UnityWebRequestModule, UnityEngine.UnityWebRequestAssetBundleModule, UnityEngine.UnityWebRequestAudioModule, UnityEngine.UnityWebRequestTextureModule, UnityEngine.UnityWebRequestWWWModule, UnityEngine.VFXModule, UnityEngine.VRModule, UnityEngine.VehiclesModule, UnityEngine.VideoModule, UnityEngine.WindModule, UnityEngine.XRModule, UnityEngine.UI, UnityEngine.TestRunner, nunit.framework, UnityEngine.Timeline, UnityEngine.Networking, UnityEngine.SpatialTracking, netstandard, Microsoft.Win32.Primitives, System.AppContext, System.Collections.Concurrent, System.Collections.NonGeneric, System.Collections.Specialized, System.Collections, System.ComponentModel.EventBasedAsync, System.ComponentModel.Primitives, System.ComponentModel.TypeConverter, System.ComponentModel, System.Console, System.Data.Common, System.Diagnostics.Contracts, System.Diagnostics.Debug, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.StackTrace, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.Tools, System.Diagnostics.TraceSource, System.Diagnostics.Tracing, System.Drawing.Primitives, System.Dynamic.Runtime, System.Globalization.Calendars, System.Globalization.Extensions, System.Globalization, System.IO.Compression.ZipFile, System.IO.Compression, System.IO.FileSystem.DriveInfo, System.IO.FileSystem.Primitives, System.IO.FileSystem.Watcher, System.IO.FileSystem, System.IO.IsolatedStorage, System.IO.MemoryMappedFiles, System.IO.Pipes, System.IO.UnmanagedMemoryStream, System.IO, System.Linq.Expressions, System.Linq.Parallel, System.Linq.Queryable, System.Linq, System.Net.Http, System.Net.NameResolution, System.Net.NetworkInformation, System.Net.Ping, System.Net.Primitives, System.Net.Requests, System.Net.Security, System.Net.Sockets, System.Net.WebHeaderCollection, System.Net.WebSockets.Client, System.Net.WebSockets, System.ObjectModel, System.Reflection.Extensions, System.Reflection.Primitives, System.Reflection, System.Resources.Reader, System.Resources.ResourceManager, System.Resources.Writer, System.Runtime.CompilerServices.VisualC, System.Runtime.Extensions, System.Runtime.Handles, System.Runtime.InteropServices.RuntimeInformation, System.Runtime.InteropServices, System.Runtime.Numerics, System.Runtime.Serialization.Formatters, System.Runtime.Serialization.Json, System.Runtime.Serialization.Primitives, System.Runtime.Serialization.Xml, System.Runtime, System.Security.Claims, System.Security.Cryptography.Algorithms, System.Security.Cryptography.Csp, System.Security.Cryptography.Encoding, System.Security.Cryptography.Primitives, System.Security.Cryptography.X509Certificates, System.Security.Principal, System.Security.SecureString, System.Text.Encoding.Extensions, System.Text.Encoding, System.Text.RegularExpressions, System.Threading.Overlapped, System.Threading.Tasks.Parallel, System.Threading.Tasks, System.Threading.Thread, System.Threading.ThreadPool, System.Threading.Timer, System.Threading, System.ValueTuple, System.Xml.ReaderWriter, System.Xml.XDocument, System.Xml.XPath.XDocument, System.Xml.XPath, System.Xml.XmlDocument, System.Xml.XmlSerializer, System.Numerics.Vectors, System.Runtime.InteropServices.WindowsRuntime, System.ComponentModel.Composition, System.Core, System.Data, System.Drawing, System.IO.Compression.FileSystem, System.Net, System.Numerics, System.Runtime.Serialization, System.ServiceModel.Web, System.Transactions, System.Web, System.Windows, System.Xml.Linq, System.Xml.Serialization, System.Xml, System, mscorlib, NETStandard.Library, Microsoft.NETCore.Platforms, Microsoft.CSharp
Already imported editor only libraries:
Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='6.0.8')
Getting credential for http://www.nuget.org/api/v2
HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='6.0.8')
Received 1 packages in 455 ms
Newtonsoft.Json 6.0.8 not found, using 6.0.8
Installing: Newtonsoft.Json 6.0.8
Selecting (null) as the best target framework for current settings
Downloading package Newtonsoft.Json 6.0.8
Getting credential for https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.8
HTTP GET https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.8
Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8
Cleaning /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Moving /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools
Plug-in loaded for file: Assets/packages.config
Getting installed packages took 5 ms
No packages need restoring.
Restoring packages took 1 ms
Plug-in loaded for file: Assets/packages.config
Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range.
Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1')
HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1')
Received 1 packages in 22 ms
Newtonsoft.Json 7.0.1 not found, using 7.0.1
Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1
Uninstalling: Newtonsoft.Json 6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8
Plug-in loaded for file: Assets/packages.config
Getting installed packages took 0 ms
No packages need restoring.
Restoring packages took 0 ms
Plug-in loaded for file: Assets/packages.config
at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in /github/workspace/src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
Check failure on line 76 in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs
github-actions / Test Results
NuGetTests.InstallJsonTest(ApiV3Only)
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: False
Raw output
Getting credential for https://api.nuget.org/v3/index.json
Newtonsoft.Json 6.0.8 not found, using 6.0.8
Installing: Newtonsoft.Json 6.0.8
Selecting (null) as the best target framework for current settings
Downloading package Newtonsoft.Json 6.0.8
Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8
Cleaning /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Moving /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools
Plug-in loaded for file: Assets/packages.config
Getting installed packages took 1 ms
No packages need restoring.
Restoring packages took 0 ms
Plug-in loaded for file: Assets/packages.config
Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range.
Newtonsoft.Json 7.0.1 not found, using 7.0.1
Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1
Uninstalling: Newtonsoft.Json 6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8
at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in /github/workspace/src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
Check failure on line 76 in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs
github-actions / Test Results
NuGetTests.InstallJsonTest(ApiV2AllowCached)
The package was NOT installed: Newtonsoft.Json 7.0.1
Expected: True
But was: False
Raw output
Found exact package in the cache: /root/.local/share/NuGet/Cache/Newtonsoft.Json.6.0.8.nupkg
Installing: Newtonsoft.Json 6.0.8
Selecting (null) as the best target framework for current settings
Cached package found for Newtonsoft.Json 6.0.8
Couldn't find a library folder with a supported target-framework for the package Newtonsoft.Json.6.0.8
Cleaning /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Moving /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8/tools to /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8/tools
Requested Newtonsoft.Json 7.0.1. 6.0.8 is already installed, but it is out of range.
Getting packages from: http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1')
HTTP GET http://www.nuget.org/api/v2/Packages(Id='Newtonsoft.Json',Version='7.0.1')
Received 1 packages in 41 ms
Newtonsoft.Json 7.0.1 not found, using 7.0.1
Newtonsoft.Json 6.0.8 is installed explicitly so it will not be replaced with 7.0.1
Uninstalling: Newtonsoft.Json 6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/Newtonsoft.Json.6.0.8
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Packages/Newtonsoft.Json.6.0.8
at NuGetTests.InstallJsonTest (NuGetTests+InstallMode installMode) [0x0006c] in /github/workspace/src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:76
Check failure on line 1015 in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs
github-actions / Test Results
NuGetTests.TestPostprocessDifferentVersion("jQuery","3.7.0","3.6.4")
The new package version was NOT installed: jQuery 3.6.4
Expected: True
But was: False
Raw output
Found exact package in the cache: /root/.local/share/NuGet/Cache/jQuery.3.7.0.nupkg
Installing: jQuery 3.7.0
Selecting (null) as the best target framework for current settings
Cached package found for jQuery 3.7.0
Cleaning /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0
Getting installed packages took 2 ms
Restoring 1 packages.
---Restoring jQuery 3.6.4
Requested jQuery 3.6.4. 3.7.0 is already installed, but config demands lower version.
Found exact package in the cache: /root/.local/share/NuGet/Cache/jQuery.3.6.4.nupkg
jQuery 3.7.0 is installed explicitly so it will not be replaced with 3.6.4
---DELETE unnecessary package /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/jQuery.3.7.0
Getting installed packages took 0 ms
Restoring packages took 18 ms
Failed to import plug-in at /github/workspace/src/NuGetForUnity.Tests/Assets/packages.config
NuGetForUnity: failed to process: '/github/workspace/src/NuGetForUnity.Tests/Assets/packages.config' (ConfigurationFile)
at NuGetTests.TestPostprocessDifferentVersion (System.String packageId, System.String packageVersionOld, System.String packageVersionNew) [0x000b7] in /github/workspace/src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:1015
Check failure on line 899 in src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs
github-actions / Test Results
NuGetTests.TestUpgrading
The package was NOT installed: System.ComponentModel.Annotations 5.0.0
Expected: True
But was: False
Raw output
Getting packages from: http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='4.7.0')
HTTP GET http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='4.7.0')
Received 1 packages in 21 ms
System.ComponentModel.Annotations 4.7.0 was found in NuGet
System.ComponentModel.Annotations 4.7.0 not found, using 4.7.0
Installing: System.ComponentModel.Annotations 4.7.0
Selecting netstandard2.0 as the best target framework for current settings
Installing dependencies for TargetFramework: netstandard2.0
Downloading package System.ComponentModel.Annotations 4.7.0
Getting credential for https://www.nuget.org/api/v2/package/System.ComponentModel.Annotations/4.7.0
HTTP GET https://www.nuget.org/api/v2/package/System.ComponentModel.Annotations/4.7.0
Selecting target framework directory 'netstandard2.0' as best match for the package System.ComponentModel.Annotations.4.7.0
Cleaning /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/System.ComponentModel.Annotations.4.7.0
Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll
NuGetForUnity: successfully processed: 'Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll' (GeneralSetting)
Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll
NuGetForUnity: successfully processed: 'Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll' (GeneralSetting)
Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll
Plug-in loaded for file: Assets/Packages/System.ComponentModel.Annotations.4.7.0/lib/netstandard2.0/System.ComponentModel.Annotations.dll
Already imported libs: UnityEngine, UnityEngine.AIModule, UnityEngine.ARModule, UnityEngine.AccessibilityModule, UnityEngine.AnimationModule, UnityEngine.AssetBundleModule, UnityEngine.AudioModule, UnityEngine.BaselibModule, UnityEngine.ClothModule, UnityEngine.ClusterInputModule, UnityEngine.ClusterRendererModule, UnityEngine.CoreModule, UnityEngine.CrashReportingModule, UnityEngine.DirectorModule, UnityEngine.FileSystemHttpModule, UnityEngine.GameCenterModule, UnityEngine.GridModule, UnityEngine.HotReloadModule, UnityEngine.IMGUIModule, UnityEngine.ImageConversionModule, UnityEngine.InputModule, UnityEngine.JSONSerializeModule, UnityEngine.LocalizationModule, UnityEngine.ParticleSystemModule, UnityEngine.PerformanceReportingModule, UnityEngine.PhysicsModule, UnityEngine.Physics2DModule, UnityEngine.ProfilerModule, UnityEngine.ScreenCaptureModule, UnityEngine.SharedInternalsModule, UnityEngine.SpatialTrackingModule, UnityEngine.SpriteMaskModule, UnityEngine.SpriteShapeModule, UnityEngine.StreamingModule, UnityEngine.StyleSheetsModule, UnityEngine.SubstanceModule, UnityEngine.TLSModule, UnityEngine.TerrainModule, UnityEngine.TerrainPhysicsModule, UnityEngine.TextCoreModule, UnityEngine.TextRenderingModule, UnityEngine.TilemapModule, UnityEngine.TimelineModule, UnityEngine.UIModule, UnityEngine.UIElementsModule, UnityEngine.UNETModule, UnityEngine.UmbraModule, UnityEngine.UnityAnalyticsModule, UnityEngine.UnityConnectModule, UnityEngine.UnityTestProtocolModule, UnityEngine.UnityWebRequestModule, UnityEngine.UnityWebRequestAssetBundleModule, UnityEngine.UnityWebRequestAudioModule, UnityEngine.UnityWebRequestTextureModule, UnityEngine.UnityWebRequestWWWModule, UnityEngine.VFXModule, UnityEngine.VRModule, UnityEngine.VehiclesModule, UnityEngine.VideoModule, UnityEngine.WindModule, UnityEngine.XRModule, UnityEngine.UI, UnityEngine.TestRunner, nunit.framework, UnityEngine.Timeline, UnityEngine.Networking, UnityEngine.SpatialTracking, netstandard, Microsoft.Win32.Primitives, System.AppContext, System.Collections.Concurrent, System.Collections.NonGeneric, System.Collections.Specialized, System.Collections, System.ComponentModel.EventBasedAsync, System.ComponentModel.Primitives, System.ComponentModel.TypeConverter, System.ComponentModel, System.Console, System.Data.Common, System.Diagnostics.Contracts, System.Diagnostics.Debug, System.Diagnostics.FileVersionInfo, System.Diagnostics.Process, System.Diagnostics.StackTrace, System.Diagnostics.TextWriterTraceListener, System.Diagnostics.Tools, System.Diagnostics.TraceSource, System.Diagnostics.Tracing, System.Drawing.Primitives, System.Dynamic.Runtime, System.Globalization.Calendars, System.Globalization.Extensions, System.Globalization, System.IO.Compression.ZipFile, System.IO.Compression, System.IO.FileSystem.DriveInfo, System.IO.FileSystem.Primitives, System.IO.FileSystem.Watcher, System.IO.FileSystem, System.IO.IsolatedStorage, System.IO.MemoryMappedFiles, System.IO.Pipes, System.IO.UnmanagedMemoryStream, System.IO, System.Linq.Expressions, System.Linq.Parallel, System.Linq.Queryable, System.Linq, System.Net.Http, System.Net.NameResolution, System.Net.NetworkInformation, System.Net.Ping, System.Net.Primitives, System.Net.Requests, System.Net.Security, System.Net.Sockets, System.Net.WebHeaderCollection, System.Net.WebSockets.Client, System.Net.WebSockets, System.ObjectModel, System.Reflection.Extensions, System.Reflection.Primitives, System.Reflection, System.Resources.Reader, System.Resources.ResourceManager, System.Resources.Writer, System.Runtime.CompilerServices.VisualC, System.Runtime.Extensions, System.Runtime.Handles, System.Runtime.InteropServices.RuntimeInformation, System.Runtime.InteropServices, System.Runtime.Numerics, System.Runtime.Serialization.Formatters, System.Runtime.Serialization.Json, System.Runtime.Serialization.Primitives, System.Runtime.Serialization.Xml, System.Runtime, System.Security.Claims, System.Security.Cryptography.Algorithms, System.Security.Cryptography.Csp, System.Security.Cryptography.Encoding, System.Security.Cryptography.Primitives, System.Security.Cryptography.X509Certificates, System.Security.Principal, System.Security.SecureString, System.Text.Encoding.Extensions, System.Text.Encoding, System.Text.RegularExpressions, System.Threading.Overlapped, System.Threading.Tasks.Parallel, System.Threading.Tasks, System.Threading.Thread, System.Threading.ThreadPool, System.Threading.Timer, System.Threading, System.ValueTuple, System.Xml.ReaderWriter, System.Xml.XDocument, System.Xml.XPath.XDocument, System.Xml.XPath, System.Xml.XmlDocument, System.Xml.XmlSerializer, System.Numerics.Vectors, System.Runtime.InteropServices.WindowsRuntime, System.ComponentModel.Composition, System.Core, System.Data, System.Drawing, System.IO.Compression.FileSystem, System.Net, System.Numerics, System.Runtime.Serialization, System.ServiceModel.Web, System.Transactions, System.Web, System.Windows, System.Xml.Linq, System.Xml.Serialization, System.Xml, System, mscorlib, NETStandard.Library, Microsoft.NETCore.Platforms, Microsoft.CSharp
Already imported editor only libraries:
Requested System.ComponentModel.Annotations 5.0.0. 4.7.0 is already installed, but it is out of range.
Getting packages from: http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='5.0.0')
HTTP GET http://www.nuget.org/api/v2/Packages(Id='System.ComponentModel.Annotations',Version='5.0.0')
Received 1 packages in 41 ms
System.ComponentModel.Annotations 5.0.0 was found in NuGet
System.ComponentModel.Annotations 5.0.0 not found, using 5.0.0
System.ComponentModel.Annotations 4.7.0 is installed explicitly so it will not be replaced with 5.0.0
Uninstalling: System.ComponentModel.Annotations 4.7.0
Deleting directory: /github/workspace/src/NuGetForUnity.Tests/Assets/Packages/System.ComponentModel.Annotations.4.7.0
at NuGetTests.TestUpgrading () [0x000a8] in /github/workspace/src/NuGetForUnity.Tests/Assets/Tests/Editor/NuGetTests.cs:899