You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.Net.Http.Functional.Tests.TelemetryTest failing with differing string #109024
Activity
dotnet-policy-service commentedon Oct 18, 2024
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Oct 21, 2024
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
MihaZupan commentedon Oct 21, 2024
This failure on Browser is already tracked by #71877. The test in question should already be disabled there:
runtime/src/libraries/System.Net.Http/tests/FunctionalTests/TelemetryTest.cs
Lines 24 to 31 in f87687a
Does
WasmTestOnChromenot fall underPlatformDetection.IsBrowser?pavelsavara commentedon Oct 22, 2024
Maybe on browser the env variable
MONO_AOT_MODEis never set ?lewing commentedon Oct 23, 2024
@ilonatommy this and #105363 are getting hit a lot. please take a look
ilonatommy commentedon Oct 24, 2024
The test is run with
/p:EnableAggressiveTrimming=true /p:BuildAOTTestsOnHelix=true /p:RunAOTCompilation=false.It's true that
MONO_AOT_MODEis never set, becauseENABLE_AOTis not defined. I guess it should be set here:runtime/src/tasks/AotCompilerTask/MonoAOTCompiler.cs
Line 1140 in edaa25e
The tests, however fail when
AOT = false, so the active issue does not prevent it. We have a detection for EAT on wasm browser, it's this property:runtime/src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
Line 288 in edaa25e
set by this stub:
runtime/src/libraries/Common/tests/TestUtilities/ILLink.Substitutions.AggressiveTrimming.xml
Line 4 in edaa25e
from here:
runtime/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj
Line 13 in edaa25e
I will add appropriate blocking condition in a PR soon.
ilonatommy commentedon Oct 24, 2024
About this part:
I found where we're setting it:
runtime/src/mono/browser/build/BrowserWasmApp.targets
Line 319 in edaa25e
that triggers:
runtime/src/mono/browser/runtime/runtime.c
Lines 308 to 312 in 8e8143e
so the existing blocker is also fine.
ilonatommy commentedon Oct 24, 2024
Browser does not support diagnostics, so in the current state it's expected to trim
runtime/src/libraries/System.Net.Http/src/System/Net/Http/HttpTelemetry.cs
Line 12 in 8e8143e
This can be enabled once we have EP working on WASM browser.
Enable `TelemetryTest` (dotnet#121498)