[NSJ -> STJ]Migrate Registration #7306
Build #20260420.9 had test failures
Details
- Failed: 7 (0.32%)
- Passed: 2,169 (97.61%)
- Other: 46 (2.07%)
- Total: 2,222
Annotations
Check failure on line 112 in Build log
azure-pipelines / NuGet.Client CI
Build log #L112
PowerShell exited with code '1'.
azure-pipelines / NuGet.Client CI
src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/PackageSearch/JsonFormat/PackageSearchJsonContext.cs#L9
src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/PackageSearch/JsonFormat/PackageSearchJsonContext.cs(9,28): Error SYSLIB1220: The 'JsonConverterAttribute' type 'NuGet.Protocol.Converters.SafeUriStjConverter' specified on member 'NuGet.Protocol.PackageVulnerabilityMetadata.AdvisoryUrl' is not a converter type or does not contain an accessible parameterless constructor. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1220)
Check failure on line 234 in Build log
azure-pipelines / NuGet.Client CI
Build log #L234
Error: The process '/home/vsts/work/1/s/cli/dotnet' failed with exit code 1
Check failure on line 237 in Build log
azure-pipelines / NuGet.Client CI
Build log #L237
Dotnet command failed with non-zero exit code on the following projects : [ '' ]
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_TargetEndpointTest
====================
Source: source
--------------------
No results found.
--------------------
Metadata could not be loaded from the source 'http://localhost:49354/cd7a7f68-d59e-4f9c-9974-cb1c48ab1fd9/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'.
Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
NuGet.Protocol.Core.Types.FatalProtocolException: Metadata could not be loaded from the source 'http://localhost:49354/cd7a7f68-d59e-4f9c-9974-cb1c48ab1fd9/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Serialization.JsonSerializerProxy.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.Converters.V3SearchResultsConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamWithoutBufferingAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamTakeCountedItemAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.HttpSource.<>c__DisplayClass17_0`1.<<ProcessHttpStreamAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Syste
Raw output
at NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_TargetEndpointTest() in D:\a\_work\1\s\test\NuGet.Clients.FuncTests\NuGet.CommandLine.FuncTest\Commands\SearchCommandTests.cs:line 130
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_SourceOptionTest
Metadata could not be loaded from the source 'http://localhost:49352/6314e21b-dbe0-4344-bcec-84cc7dcb0f37/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'.
Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
NuGet.Protocol.Core.Types.FatalProtocolException: Metadata could not be loaded from the source 'http://localhost:49352/6314e21b-dbe0-4344-bcec-84cc7dcb0f37/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Serialization.JsonSerializerProxy.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.Converters.V3SearchResultsConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamWithoutBufferingAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamTakeCountedItemAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.HttpSource.<>c__DisplayClass17_0`1.<<ProcessHttpStreamAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.HttpSource.<ProcessResponseA
Raw output
at NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_SourceOptionTest() in D:\a\_work\1\s\test\NuGet.Clients.FuncTests\NuGet.CommandLine.FuncTest\Commands\SearchCommandTests.cs:line 744
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_VerbosityDetailedTest
NuGet Version: 7.7.0.65534
====================
Source: source
--------------------
No results found.
--------------------
Found 1 search endpoints.
Querying http://localhost:49349/2d155a9c-641a-42cb-971d-00b599f5d1eb/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0
Metadata could not be loaded from the source 'http://localhost:49349/2d155a9c-641a-42cb-971d-00b599f5d1eb/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'.
Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
NuGet.Protocol.Core.Types.FatalProtocolException: Metadata could not be loaded from the source 'http://localhost:49349/2d155a9c-641a-42cb-971d-00b599f5d1eb/search/query?q=json&skip=0&take=20&prerelease=false&semVerLevel=2.0.0'. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Serialization.JsonSerializerProxy.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.Converters.V3SearchResultsConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamWithoutBufferingAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamTakeCountedItemAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.HttpSource.<>c__DisplayClass17_0`1.<<ProcessHttpStreamAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was
Raw output
at NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_VerbosityDetailedTest() in D:\a\_work\1\s\test\NuGet.Clients.FuncTests\NuGet.CommandLine.FuncTest\Commands\SearchCommandTests.cs:line 240
azure-pipelines / NuGet.Client CI
NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_TakeOptionTest
====================
Source: source
--------------------
No results found.
--------------------
Metadata could not be loaded from the source 'http://localhost:49380/65fc5251-da36-44d0-89b1-6e3a943d883e/search/query?q=json&skip=0&take=5&prerelease=false&semVerLevel=2.0.0'.
Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
NuGet.Protocol.Core.Types.FatalProtocolException: Metadata could not be loaded from the source 'http://localhost:49380/65fc5251-da36-44d0-89b1-6e3a943d883e/search/query?q=json&skip=0&take=5&prerelease=false&semVerLevel=2.0.0'. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'data[0].tags', line 23, position 33.
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.Serialization.JsonSerializerProxy.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.Converters.V3SearchResultsConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamWithoutBufferingAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.PackageSearchResourceV3.<ProcessHttpStreamTakeCountedItemAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at NuGet.Protocol.HttpSource.<>c__DisplayClass17_0`1.<<ProcessHttpStreamAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.
Raw output
at NuGet.CommandLine.FuncTest.Commands.SearchCommandTest.SearchCommand_TakeOptionTest() in D:\a\_work\1\s\test\NuGet.Clients.FuncTests\NuGet.CommandLine.FuncTest\Commands\SearchCommandTests.cs:line 634