Skip to content

[browser][nodejs] RequestDuration_CustomTags_Recorded - ENOENT: no such file or directory, open 'http://127.0.0.1:45051/' #88900

Closed
@pavelsavara

Description

@pavelsavara

remote Loopback issue on NodeJS

[19:38:28] fail: [FAIL] System.Net.Http.Functional.Tests.HttpMetricsTest_Http11_Async.RequestDuration_CustomTags_Recorded
[19:38:28] info: System.Net.Http.HttpRequestException : Error: ENOENT: no such file or directory, open 'http://127.0.0.1:45051/'
[19:38:28] info: ---- System.Runtime.InteropServices.JavaScript.JSException : Error: ENOENT: no such file or directory, open 'http://127.0.0.1:45051/'
[19:38:28] info:    at System.Net.Http.BrowserHttpInterop.<CancelationHelper>d__13`1[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
[19:38:28] info:    at System.Net.Http.BrowserHttpContent.GetResponseData(CancellationToken cancellationToken)
[19:38:28] info:    at System.Net.Http.BrowserHttpContent.<SerializeToStreamAsync>g__Impl|7_0(BrowserHttpContent self, Stream stream, CancellationToken cancellationToken)
[19:38:28] info:    at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
[19:38:28] info:    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[19:38:28] info:    at System.Net.Http.Functional.Tests.HttpMetricsTest.<RequestDuration_CustomTags_Recorded>b__11_0(Uri uri)
[19:38:28] info:    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
[19:38:28] info: --- End of stack trace from previous location ---
[19:38:28] info:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
[19:38:28] info:    at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass5_0.<<CreateClientAndServerAsync>b__0>d.MoveNext()
[19:38:28] info: --- End of stack trace from previous location ---
[19:38:28] info:    at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
[19:38:28] info: --- End of stack trace from previous location ---
[19:38:28] info: ----- Inner Stack Trace -----
[19:38:28] info:    at System.Net.Http.BrowserHttpInterop.<CancelationHelper>d__13`1[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
[19:38:37] fail: [FAIL] System.Net.Http.Functional.Tests.HttpMetricsTest_Http11_Async.RequestDuration_EnrichmentHandler_ContentLengthError_Recorded
[19:38:37] info: Assert.Equal() Failure
[19:38:37] info: Expected: 200
[19:38:37] info: Actual:   500
[19:38:37] info:    at System.Net.Http.Functional.Tests.HttpMetricsTestBase.VerifyOptionalTag[Nullable`1](KeyValuePair`2[] tags, String name, Nullable`1 value)
[19:38:37] info:    at System.Net.Http.Functional.Tests.HttpMetricsTestBase.VerifyRequestDuration(Measurement`1 measurement, Uri uri, String protocol, Nullable`1 statusCode, String method)
[19:38:37] info:    at System.Net.Http.Functional.Tests.HttpMetricsTest_Http11.<RequestDuration_EnrichmentHandler_ContentLengthError_Recorded>b__3_0(Uri uri)
[19:38:37] info:    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
[19:38:37] info: --- End of stack trace from previous location ---
[19:38:37] info:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
[19:38:37] info:    at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass5_0.<<CreateClientAndServerAsync>b__0>d.MoveNext()
[19:38:37] info: --- End of stack trace from previous location ---
[19:38:37] info:    at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
[19:38:37] info:    at System.Net.Http.Functional.Tests.HttpMetricsTest_Http11.RequestDuration_EnrichmentHandler_ContentLengthError_Recorded()
[19:38:37] info: --- End of stack trace from previous location ---

Log

Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=338789&view=results

Error Message

{
    "ErrorMessage": "System.Net.Http.HttpRequestException : Error: ENOENT: no such file or directory, open",
    "BuildRetry": false,
    "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
350621 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #89387
350096 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88052
350086 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #89387
348658 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88052
347032 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88929
340459 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88929
340384 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88387
339571 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88052
339570 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88387
339390 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88883
339072 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88505
338789 dotnet/runtime WasmTestOnNodeJS-System.Net.Http.Functional.Tests.WorkItemExecution #88846

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 5 12

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=338789
Error message validated: System.Net.Http.HttpRequestException : Error: ENOENT: no such file or directory, open
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/14/2023 9:38:12 AM UTC

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions