runtime: [LinuxBionic][CI] `System.Tests.TimeZoneInfoTests.NJulianRuleTest` failing

It is blocking clean staging.

Runs where it was observed:

Failing tests:

System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,0/0,J365/25", dayNumber: 1, monthNumber: 1, shouldSucceed: True) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,30/0,J365/25", dayNumber: 31, monthNumber: 1, shouldSucceed: True) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,31/0,J365/25", dayNumber: 1, monthNumber: 2, shouldSucceed: True) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,58/0,J365/25", dayNumber: 28, monthNumber: 2, shouldSucceed: True) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,59/0,J365/25", dayNumber: 0, monthNumber: 0, shouldSucceed: False) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,9999999/0,J365/25", dayNumber: 0, monthNumber: 0, shouldSucceed: False) [FAIL]
System.Tests.TimeZoneInfoTests.NJulianRuleTest(posixRule: "<+00>0<+01>,A/0,J365/25", dayNumber: 0, monthNumber: 0, shouldSucceed: False) [FAIL]

Log:

[22:32:57] info: An error occurred running System.Runtime.Tests.sh
[22:32:57] dbug: Exit code: 1
                 Std out:
                   Discovering: System.Runtime.Tests (method display = ClassAndMethod, method display options = None)
                   Discovered:  System.Runtime.Tests (found 8579 of 8714 test cases)
                   Starting:    System.Runtime.Tests (parallel test collections = on, max threads = 1)
                     System.Tests.TimeZoneInfoTests.UnsupportedImplicitConversionTest [SKIP]
                       Condition(s) not met: "DoesNotSupportIanaNamesConversion"
                       Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
                       Stack Trace:
                         
                         Child exception:
                           Xunit.Sdk.EqualException: Assert.Equal() Failure
                         Expected: 1
                         Actual:   0
                         /_/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs(2616,0): at System.Tests.TimeZoneInfoTests.<>c.<NJulianRuleTest>b__103_0(String day, String month, String succeed)
                         /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
                         
                         Child process:
                           System.Runtime.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Tests.TimeZoneInfoTests+<>c Void <NJulianRuleTest>b__103_0(System.String, System.String, System.String)
                         
                         Child arguments:
                           1, 1, True
                         
                       Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
                       Stack Trace:
                         
                         Child exception:
                           Xunit.Sdk.EqualException: Assert.Equal() Failure
                         Expected: 1
                         Actual:   0
                         /_/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs(2616,0): at System.Tests.TimeZoneInfoTests.<>c.<NJulianRuleTest>b__103_0(String day, String month, String succeed)
                         /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
                         
                         Child process:
                           System.Runtime.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Tests.TimeZoneInfoTests+<>c Void <NJulianRuleTest>b__103_0(System.String, System.String, System.String)
                         
                         Child arguments:
                           31, 1, True
                         
                       Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
                       Stack Trace:
                         
                         Child exception:
                           Xunit.Sdk.EqualException: Assert.Equal() Failure
                         Expected: 1
                         Actual:   0
                         /_/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs(2616,0): at System.Tests.TimeZoneInfoTests.<>c.<NJulianRuleTest>b__103_0(String day, String month, String succeed)
                         /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
                         
                         Child process:
                           System.Runtime.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Tests.TimeZoneInfoTests+<>c Void <NJulianRuleTest>b__103_0(System.String, System.String, System.String)
                         
                         Child arguments:
                           1, 2, True
                         
                       Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
                       Stack Trace:
                         
                         Child exception:
                           Xunit.Sdk.EqualException: Assert.Equal() Failure
                         Expected: 1
                         Actual:   0
                         /_/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs(2616,0): at System.Tests.TimeZoneInfoTests.<>c.<NJulianRuleTest>b__103_0(String day, String month, String succeed)
                         /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(33,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
                         
                         Child process:
                           System.Runtime.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Tests.TimeZoneInfoTests+<>c Void <NJulianRuleTest>b__103_0(System.String, System.String, System.String)
                         
                         Child arguments:
                           28, 2, True

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

any idea why doesn’t fail the staging leg when any test fails there?

In almost any case other than “new very serious Azure DevOps bug is found” that’d be a YAML authoring error, but I’ll take a quick stab and see if I can be helpful here.