Skip to content

Fixed MongoDB issue #112

Fixed MongoDB issue

Fixed MongoDB issue #112

GitHub Actions / Device Manager Service Integration Test Report failed Jan 14, 2024 in 0s

Device Manager Service Integration Test Report ❌

Tests failed

❌ Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx

8 tests were completed in 8s with 0 passed, 8 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests 8❌ 6s

❌ Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests

❌ DeleteDevice
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
❌ GetDeviceById
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
❌ GetDeviceConnection
	System.Text.Json.JsonException : 'M' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
	---- System.Text.Json.JsonReaderException : 'M' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
❌ GetDeviceDiskStatistics
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
❌ GetDeviceInterfaceStatistics
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
❌ GetDevices
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
❌ Post_CreateNewDevice
	Assert.True() Failure
	Expected: True
	Actual:   False
❌ UpdateDeviceCommunity
	System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).

Annotations

Check failure on line 209 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► DeleteDevice

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceId(HttpClient client) in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 209
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.DeleteDevice() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 196
--- End of stack trace from previous location ---

Check failure on line 209 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► GetDeviceById

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceId(HttpClient client) in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 209
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceById() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 92
--- End of stack trace from previous location ---

Check failure on line 140 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► GetDeviceConnection

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Text.Json.JsonException : 'M' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
  ---- System.Text.Json.JsonReaderException : 'M' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
Raw output
System.Text.Json.JsonException : 'M' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---- System.Text.Json.JsonReaderException : 'M' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
   at System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsyncCore[T](HttpContent content, JsonSerializerOptions options, CancellationToken cancellationToken)
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceConnection() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 140
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)

Check failure on line 209 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► GetDeviceDiskStatistics

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceId(HttpClient client) in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 209
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceDiskStatistics() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 156
--- End of stack trace from previous location ---

Check failure on line 209 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► GetDeviceInterfaceStatistics

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceId(HttpClient client) in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 209
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceInterfaceStatistics() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 176
--- End of stack trace from previous location ---

Check failure on line 76 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► GetDevices

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDevices() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 76
--- End of stack trace from previous location ---

Check failure on line 63 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► Post_CreateNewDevice

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  Assert.True() Failure
  Expected: True
  Actual:   False
Raw output
Assert.True() Failure
Expected: True
Actual:   False
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.Post_CreateNewDevice() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 63
--- End of stack trace from previous location ---

Check failure on line 209 in Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs

See this annotation in the file changed.

@github-actions github-actions / Device Manager Service Integration Test Report

Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests ► UpdateDeviceCommunity

Failed test found in:
  Tests/Netmon.DeviceManager.IntegrationTests/TestResults/test-results.trx
Error:
  System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Raw output
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.GetDeviceId(HttpClient client) in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 209
   at Netmon.DeviceManager.IntegrationTests.DiscoverIntegrationTests.UpdateDeviceCommunity() in /home/runner/work/Netmon/Netmon/Tests/Netmon.DeviceManager.IntegrationTests/DiscoverIntegrationTests.cs:line 111
--- End of stack trace from previous location ---