Bug 28820 - LeftShiftAssignNullable and LeftShiftNullable tests are failing on arm
Summary: LeftShiftAssignNullable and LeftShiftNullable tests are failing on arm
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 3.12.0
Hardware: Other Linux
: --- normal
Target Milestone: ---
Assignee: Alexander Kyte
URL:
Depends on:
Blocks:
 
Reported: 2015-04-06 15:29 UTC by Alexander Kyte
Modified: 2015-06-22 11:46 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Alexander Kyte 2015-04-06 15:29:01 UTC
akyte@tegra-3:~/kyte/mono/mcs/tests$ mono dtest-006.exe
Running test AddAssignCheckedTest     OK
Running test AddAssignEnumTest        OK
Running test AddAssignEvent           OK
Running test AddAssignNullableTest    OK
Running test AddAssignStringTest      OK
Running test AddAssignTest            OK
Running test AddCheckedTest           OK
Running test AddEnumTest              OK
Running test AddNullableTest          OK
Running test AddStringTest            OK
Running test AddTest                  OK
Running test AndAlsoTest              OK
Running test AndAssignedTest          OK
Running test AndAssignedTestEnum      OK
Running test AndTest                  OK
Running test AndTestEnum              OK
Running test AndTestNullable          OK
Running test ConvertArray             OK
Running test ConvertExplicitCheckedTestOK
Running test ConvertExplicitTest      OK
Running test ConvertImplicitReturnTestOK
Running test ConvertImplicitReturnTest_2OK
Running test ConvertImplicitTest      OK
Running test DivideAssignCheckedTest  OK
Running test DivideAssignTest         OK
Running test DivideCheckedTest        OK
Running test DivideNullableTest       OK
Running test DivideTest               OK
Running test EqualDelegateTest        OK
Running test EqualEnumTest            OK
Running test EqualNullableTest        OK
Running test EqualStringTest          OK
Running test EqualTest                OK
Running test ExclusiveOrAssignedTest  OK
Running test ExclusiveOrAssignedTestEnumOK
Running test ExclusiveOrNullableTest  OK
Running test ExclusiveOrTest          OK
Running test ExclusiveOrTestEnum      OK
Running test GreaterThanEnumTest      OK
Running test GreaterThanEqualEnumTest OK
Running test GreaterThanEqualNullableTestOK
Running test GreaterThanEqualTest     OK
Running test GreaterThanNullableTest  OK
Running test GreaterThanTest          OK
Running test IsTest                   OK
Running test LeftShiftAssignNullableTestFAILED
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ApplicationException: #2: 0 != 1073741824
at Tester.Assert<int> (int,int,string) <0x00168>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x0014b>
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid4<Tester, object, int, string> (System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x0047f>
at (wrapper delegate-invoke) System.Action`5<System.Runtime.CompilerServices.CallSite, Tester, object, int, string>.invoke_void_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x000cf>
at Tester.LeftShiftAssignNullableTest () <0x002ab>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x00047>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000bf>

  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb6870058 + 0x00108> in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0xb6870008 + 0x00047> in <filename unknown>:0
  at Tester.RunTest (System.Reflection.MethodInfo test) <0xb687e220 + 0x00063> in <filename unknown>:0
Running test LeftShiftAssignTest      OK
Running test LeftShiftNullableTest    FAILED
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ApplicationException: #2: 0 != 1073741824
at Tester.Assert<int> (int,int,string) <0x00168>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x0014b>
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid4<Tester, object, int, string> (System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x0047f>
at (wrapper delegate-invoke) System.Action`5<System.Runtime.CompilerServices.CallSite, Tester, object, int, string>.invoke_void_T1_T2_T3_T4_T5 (System.Runtime.CompilerServices.CallSite,Tester,object,int,string) <0x000cf>
at Tester.LeftShiftNullableTest () <0x00b4b>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x00047>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000bf>

  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb6870058 + 0x00108> in <filename unknown>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0xb6870008 + 0x00047> in <filename unknown>:0
  at Tester.RunTest (System.Reflection.MethodInfo test) <0xb687e220 + 0x00063> in <filename unknown>:0
Running test LeftShiftTest            OK
Running test LessThanEnumTest         OK
Running test LessThanNullableTest     OK
Running test LessThanOrEqualEnumTest  OK
Running test LessThanOrEqualNullableTestOK
Running test LessThanOrEqualTest      OK
Running test LessThanTest             OK
Running test ModuloAssignTest         OK
Running test ModuloNullableTest       OK
Running test ModuloTest               OK
Running test MultiplyAssignCheckedTestOK
Running test MultiplyAssignTest       OK
Running test MultiplyCheckedTest      OK
Running test MultiplyNullableTest     OK
Running test MultiplyTest             OK
Running test Negate                   OK
Running test NegateChecked            OK
Running test NegateNullable           OK
Running test Not                      OK
Running test NotEqualEnumTest         OK
Running test NotEqualNullableTest     OK
Running test NotEqualStringTest       OK
Running test NotEqualTest             OK
Running test OnesComplement           OK
Running test OnesComplementNullable   OK
Running test OrAssignedTest           OK
Running test OrAssignedTestEnum       OK
Running test OrElseTest               OK
Running test OrTest                   OK
Running test OrTestEnum               OK
Running test OrTestNullable           OK
Running test RightShiftAssignNullableTestOK
Running test RightShiftAssignTest     OK
Running test RightShiftNullableTest   OK
Running test RightShiftTest           OK
Running test SubtractAssignCheckedTestOK
Running test SubtractAssignEnumTest   OK
Running test SubtractAssignEvent      OK
Running test SubtractAssignTest       OK
Running test SubtractCheckedTest      OK
Running test SubtractEnumTest         OK
Running test SubtractNullableTest     OK
Running test SubtractTest             OK
Running test UnaryDecrement           OK
Running test UnaryDecrementCheckedTestOK
Running test UnaryIncrement           OK
Running test UnaryIncrementCheckedTestOK
Running test UnaryIsTrue              OK
Running test UnaryPlus                OK
Running test UnaryPlusNullable        OK
2 tests failed

I see this on an arm tegra, mono master, 

Linux tegra-3 3.10.40-ged4f697 #1 SMP PREEMPT Mon Dec 1 14:34:46 PST 2014 armv7l armv7l armv7l GNU/Linux