Skip to content

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

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

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

Triggered via pull request December 2, 2024 11:23
Status Failure
Total duration 33m 32s
Artifacts 1

test-windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
profiler-tests
Process completed with exit code 1.
test-iis
Process completed with exit code 1.
Elastic.Apm.StartupHook.Tests.StartupHookTests.Auto_Instrument_With_StartupHook(template: "webapi": test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\Users\runneradmin\AppData\Local\Temp\a4bd219c-b668-4a7b-b56e-c70293858e75\WebApi80\bin\Publish [2024-12-02 11:54:21.811 +00:00][14][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter +-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform. at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName) at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111 {MockApmServer} Trying to listen on port 23705... {MockApmServer} Port 23705 is available - it will be used to accept connections from the agent {MockApmServer} Started: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#122E53B} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#122E53B} Received get-agents-config request with query string: ?service.name=WebApi80. Current thread: `.NET TP Worker' (managed ID: 36). {IntakeV2EventsController#2E8888F} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#2E8888F} Received request with content length: 1257. Current thread: `.NET TP Worker' (managed ID: 36). {IntakeV2EventsController#DEA49C} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#DEA49C} Received request with content length: 1122. Current thread: `.NET TP Worker' (managed ID: 3). {IntakeV2EventsController#357D488} Constructed with mock APM Server: MockApmServer{port: 23705, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#357D488} Received request with content length: 891. Current thread: `.NET TP Worker' (managed ID: 3).
Elastic.Apm.StartupHook.Tests.StartupHookTests.Auto_Instrument_With_StartupHook(template: "mvc": test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\Users\runneradmin\AppData\Local\Temp\fda3fcb3-0c39-4a11-868e-09f6ab9c969f\Mvc80\bin\Publish [2024-12-02 11:55:28.138 +00:00][8][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter +-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform. at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName) at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111 {MockApmServer} Trying to listen on port 23963... {MockApmServer} Port 23963 is available - it will be used to accept connections from the agent {MockApmServer} Started: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#D139A3} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#D139A3} Received get-agents-config request with query string: ?service.name=Mvc80. Current thread: `.NET TP Worker' (managed ID: 3). {IntakeV2EventsController#16E0DE0} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#16E0DE0} Received request with content length: 1196. Current thread: `.NET TP Worker' (managed ID: 3). {IntakeV2EventsController#1C0BDB} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#1C0BDB} Received request with content length: 1113. Current thread: `.NET TP Worker' (managed ID: 26). {IntakeV2EventsController#3CA0B77} Constructed with mock APM Server: MockApmServer{port: 23963, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#3CA0B77} Received request with content length: 887. Current thread: `.NET TP Worker' (managed ID: 36).
Elastic.Apm.StartupHook.Tests.StartupHookTests.Auto_Instrument_With_StartupHook(template: "webapp": test/startuphook/Elastic.Apm.StartupHook.Tests/StartupHookTests.cs#L200
System.Exception : Did not receive transaction within timeout 00:01:00: info: Microsoft.Hosting.Lifetime[14] Now listening on: http://localhost:5000 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: C:\Users\runneradmin\AppData\Local\Temp\05b7b6f1-b061-48f9-9459-17fc83f4e888\WebApp80\bin\Publish [2024-12-02 11:56:33.276 +00:00][10][Error] - {SystemTotalCpuProvider} Error instantiating 'Processor' performance counter +-> Exception: System.PlatformNotSupportedException: Performance Counters are not supported on this platform. at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName) at Elastic.Apm.Metrics.MetricsProvider.SystemTotalCpuProvider.GetSamples() in D:\a\apm-agent-dotnet\apm-agent-dotnet\src\Elastic.Apm\Metrics\MetricsProvider\SystemTotalCpuProvider.cs:line 111 {MockApmServer} Trying to listen on port 23780... {MockApmServer} Port 23780 is available - it will be used to accept connections from the agent {MockApmServer} Started: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#3932174} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook} {AgentsConfigController#3932174} Received get-agents-config request with query string: ?service.name=WebApp80. Current thread: `.NET TP Worker' (managed ID: 27). {IntakeV2EventsController#26FCEC3} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#26FCEC3} Received request with content length: 1194. Current thread: `.NET TP Worker' (managed ID: 26). {IntakeV2EventsController#98AC9D} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#98AC9D} Received request with content length: 1111. Current thread: `.NET TP Worker' (managed ID: 36). {IntakeV2EventsController#DC77DA} Constructed with mock APM Server: MockApmServer{port: 23780, current test: Auto_Instrument_With_StartupHook} {IntakeV2EventsController#DC77DA} Received request with content length: 890. Current thread: `.NET TP Worker' (managed ID: 36).
startup-hook-tests
Process completed with exit code 1.
profiler-tests
New version for cargo-make available: 0.37.23

Artifacts

Produced during runtime
Name Size
hang-dumps Expired
1.25 MB