-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Globalizationblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runs
Milestone
Description
We are seeing assertion failures in libraries code in most of our libraries-jitstress jobs. I don't think it is related to jitstress as it is happening even in the normal test runs without jitstress.
The code was added in #76848, cc @cdbullard @tarekgh
Example failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=62125&view=ms.vss-test-web.build-test-results-tab&runId=1271942&resultId=185125&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab
Console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-e53db4ae1a13474997/Common.Tests/1/console.5494f283.log?helixlogtype=result
D:\h\w\AE2B0973\w\A34E0974\e>"D:\h\w\AE2B0973\p\dotnet.exe" exec --runtimeconfig Common.Tests.runtimeconfig.json --depsfile Common.Tests.deps.json xunit.console.dll Common.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
Discovering: Common.Tests (method display = ClassAndMethod, method display options = None)
Discovered: Common.Tests (found 257 of 265 test cases)
Starting: Common.Tests (parallel test collections = on, max threads = 8)
Process terminated. Assertion failed.
at System.Globalization.CalendarData.GetTwoDigitYearMax(CalendarId calendarId) in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/CalendarData.Windows.cs:line 434
at System.Globalization.GregorianCalendar.get_TwoDigitYearMax() in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/GregorianCalendar.cs:line 417
at System.Globalization.Calendar.ToFourDigitYear(Int32 year) in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/Calendar.cs:line 681
at System.DateTimeParse.DoStrictParse(ReadOnlySpan`1 s, ReadOnlySpan`1 formatParam, DateTimeStyles styles, DateTimeFormatInfo dtfi, DateTimeResult& result) in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs:line 4558
at System.DateTimeParse.TryParseExactMultiple(ReadOnlySpan`1 s, String[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style, DateTimeResult& result) in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs:line 171
at System.DateTimeParse.TryParseExactMultiple(ReadOnlySpan`1 s, String[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style, DateTime& result, TimeSpan& offset) in /_/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs:line 140
at Tests.System.Net.Http.HttpDateParserTests.TryParse_UseOfValidDateTimeStringsInDifferentFormats_ParsedCorrectly(String input, DateTimeOffset expected) in /_/src/libraries/Common/tests/Tests/System/Net/HttpDateParserTests.cs:line 49
at InvokeStub_HttpDateParserTests.TryParse_UseOfValidDateTimeStringsInDifferentFormats_ParsedCorrectly(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)Metadata
Metadata
Assignees
Labels
area-System.Globalizationblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runs