Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pavelsavara opened this issue Jul 14, 2023 · 3 comments · Fixed by #89393
Assignees
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

pavelsavara commented Jul 14, 2023

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

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm labels Jul 14, 2023
@pavelsavara pavelsavara added this to the 8.0.0 milestone Jul 14, 2023
@pavelsavara pavelsavara self-assigned this Jul 14, 2023
@ghost
Copy link

ghost commented Jul 14, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

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

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript, os-browser

Milestone: 8.0.0

@pavelsavara
Copy link
Member Author

Another log

@pavelsavara pavelsavara added the Known Build Error Use this to report build issues in the .NET Helix tab label Jul 14, 2023
@pavelsavara
Copy link
Member Author

Probably caused by #87319 because the NodeJS CI pipeline didn't run.

cc @antonfirsov

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 24, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 25, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant