[release/8.0] TimeZoneInfoTests.Platform_TimeZoneNames failing on Android

Open
#117,903 11 comments 0 reactions 1 assignee View on GitHub

@matouskozak is already working on this.

Since Jul 23, 2025.

Assessment

This issue has not been assessed yet.

Description

area-System.DateTime disabled-test Known Build Error os-android

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1101363
Build error leg or test failing: System.Tests.TimeZoneInfoTests.Platform_TimeZoneNames
Pull request: https://github.com/dotnet/runtime/pull/117873

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1101363&view=ms.vss-test-web.build-test-results-tab&runId=30146292&resultId=108183&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

      <test name="System.Tests.TimeZoneInfoTests.Platform_TimeZoneNames(tzi: (UTC+10:00) Australian Eastern Time (Sydney), displayName: \&quot;(UTC+10:00) Eastern Australia Time (Sydney)\&quot;, alternativeDisplayName: null, standardName: \&quot;Australian Eastern Standard Time\&quot;, daylightName: \&quot;Australian Eastern Daylight Time\&quot;, alternativeDaylightName: null)" type="System.Tests.TimeZoneInfoTests" method="Platform_TimeZoneNames" time="0.0006074" result="Fail">
        <failure exception-type="Xunit.Sdk.TrueException">
          <message><![CDATA[Display Name: Neither '(UTC+10:00) Eastern Australia Time (Sydney)' nor '' equal to '(UTC+10:00) Australian Eastern Time (Sydney)']]></message>
          <stack-trace><![CDATA[   at System.Tests.TimeZoneInfoTests.Platform_TimeZoneNames(TimeZoneInfo tzi, String displayName, String alternativeDisplayName, String standardName, String daylightName, String alternativeDaylightName) in /_/src/libraries/System.Runtime/tests/System.Runtime.Tests/System/TimeZoneInfoTests.cs:line 151
   at System.Object.InvokeStub_TimeZoneInfoTests.Platform_TimeZoneNames(Object , Span`1 )
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)]]></stack-trace>
        </failure>
      </test>

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Display Name: Neither '(UTC+10:00) Eastern Australia Time (Sydney)' nor '' equal to '(UTC+10:00) Australian Eastern Time (Sydney)'",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1101363
Error message validated: [Display Name: Neither '(UTC+10:00) Eastern Australia Time (Sydney)' nor '' equal to '(UTC+10:00) Australian Eastern Time (Sydney)']
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/21/2025 11:13:19 PM UTC

Report
Summary
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.