[Opensim-dev] Automated tests have started failing on OpenSim.Data.Tetsts.BasicRegionTest.T016_RandomSogWithSceneParts() for SQLite
Justin Clark-Casey
jjustincc at googlemail.com
Tue Feb 16 19:46:36 UTC 2010
Hi Teravus,
I notice that the automated tests have started failing on OpenSim.Data.Tetsts.BasicRegionTest.T016_RandomSogWithSceneParts() for SQLite.
Running locally on mono 2.4.2.3, the trace is
[exec] Tests run: 65, Failures: 1, Not run: 0, Time: 13.286 seconds
[exec] Test Case Failures:
[exec] 1) OpenSim.Data.SQLite.Tests.SQLiteRegionTest.T016_RandomSogWithSceneParts : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
[exec] ----> System.OutOfMemoryException : Out of memory.
[exec] at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
[exec] at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000]
[exec] at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000]
[exec] at OpenSim.Data.Tests.PropertyScrambler`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].RandomizeProperty (System.Object obj, System.Reflection.PropertyInfo property, System.Object[] index) [0x00000]
[exec] at OpenSim.Data.Tests.PropertyScrambler`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].internalScramble (System.Object obj) [0x00000]
[exec] at OpenSim.Data.Tests.PropertyScrambler`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].RandomizeProperty (System.Object obj, System.Reflection.PropertyInfo property, System.Object[] index) [0x00000]
[exec] at OpenSim.Data.Tests.PropertyScrambler`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].internalScramble (System.Object obj) [0x00000]
[exec] at OpenSim.Data.Tests.PropertyScrambler`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].Scramble (OpenSim.Region.Framework.Scenes.SceneObjectPart obj) [0x00000]
[exec] at OpenSim.Data.Tests.BasicRegionTest.T016_RandomSogWithSceneParts () [0x00000]
[exec] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
[exec] at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
[exec] --OutOfMemoryException
[exec] at (wrapper managed-to-native) object:__icall_wrapper_mono_array_new_specific (intptr,int)
[exec] at System.Array.Resize[SceneObjectPart] (OpenSim.Region.Framework.Scenes.SceneObjectPart[]& array, Int32 length, Int32 newSize) [0x00000]
[exec] at System.Array.Resize[SceneObjectPart] (OpenSim.Region.Framework.Scenes.SceneObjectPart[]& array, Int32 newSize) [0x00000]
[exec] at System.Collections.Generic.List`1[OpenSim.Region.Framework.Scenes.SceneObjectPart].set_Capacity (Int32 value) [0x00000]
[exec] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
[exec] at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
BUILD FAILED - 1 non-fatal error(s), 0 warning(s)
The OutOfMemoryException is pretty odd - it looks like something in all the clever property scrambling code is going awry.
Any idea what this is? Were the tests failing for you on Windows when you made the recent SQLite changes?
Unfortunately, since the cause of this is not at all clear, I've had to take the step of disabling T016 for now, much as I hate to do this. Also unfortunately, due to the way the tests are structured this disables it for MySQL as well.
--
Justin Clark-Casey (justincc)
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-dev
mailing list