Skip to content

Remove internal newtonsoft json and move over to system.text.json #927

Remove internal newtonsoft json and move over to system.text.json

Remove internal newtonsoft json and move over to system.text.json #927

Triggered via pull request October 23, 2024 18:04
Status Failure
Total duration 18m 37s
Artifacts

test-windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_desktop, Version: null, Environment: null, Runtime: Runtime{Name: .NET Framework, Version: 4.8.9277.0}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_desktop, Version: null, Environment: null, Runtime: Runtime{Name: .NET Framework, Version: 4.8.9277.0}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_desktop, Version: null, Environment: null, Runtime: Runtime{Name: .NET Framework, Version: 4.8.9277.0}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_desktop, Version: null, Environment: null, Runtime: Runtime{Name: .NET Framework, Version: 4.8.9277.0}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.CustomServiceTest: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L931
Expected recordedTransaction1.Context.Service.Version to be "Service1", but "Service2" differs near "2" (index 7).
Elastic.Apm.Tests.SerializationTests.MetricSet_Serializes_And_Deserializes: test/Elastic.Apm.Tests/SerializationTests.cs#L412
Expected json to be "{"samples":{"sample_1":{"value":1},"sample__2":{"value":2.1}},"timestamp":1603343944891}" with a length of 88, but "{"samples":{"sample_1":{"value":1},"sample__2":{"value":2.1000000000000001}},"timestamp":1603343944891}" has a length of 103, differs near "000" (index 59).
Elastic.Apm.Tests.SerializationTests.CustomServiceName_ShouldBeOnTransaction: test/Elastic.Apm.Tests/SerializationTests.cs#L440
Expected serializedTransaction "{"context":{"service":{"agent":{"name":"dotnet","version":"1.30.1-canary.0.5\u002B0bc8c90f5570a2aef52a5909a9be5a07238a4f48","activation_method":"nuget"},"name":"CustomService","node":{},"runtime":{"name":".NET Framework","version":"4.8.9277.0"},"version":"1.0-beta1"}},"id":"da250b2b64b11340","sampled":true,"name":"Transaction1","outcome":"Unknown","span_count":{"dropped":0,"started":0},"timestamp":1729707421303457,"trace_id":"a706aff5e9b1bb4fa5dca47671e60f34","type":"Test"}" to contain ""service":{"name":"CustomService","version":"1.0-beta1"".
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_dotnet, Version: null, Environment: null, Runtime: Runtime{Name: .NET 8, Version: 8.0.10}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_dotnet, Version: null, Environment: null, Runtime: Runtime{Name: .NET 8, Version: 8.0.10}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays
Elastic.Apm.Tests.ApiTests.ApiTests.ErrorShouldContainTransactionData(isSampled: True: test/Elastic.Apm.Tests/ApiTests/ApiTests.cs#L713
Expected member Service to be <null>, but found Service{Name: xunit_execution_dotnet, Version: null, Environment: null, Runtime: Runtime{Name: .NET 8, Version: 8.0.10}, Framework: null, Agent: AgentC{Name: dotnet, Version: 1.30.1-canary.0.5+0bc8c90f5570a2aef52a5909a9be5a07238a4f48}, Language: null, Node: Node{ConfiguredName: null}}. With configuration: - Use declared types and members - Compare enums by value - Match member by name (or throw) - Without automatic conversion. - Be strict about the order of items in byte arrays