Right. My thought for the bug is to test how the current build works in Mono and then gracefully degrade any features we don't support. Whatever that means. :-)
I'll also need to check if Mono 3.0 supports us better. Charlie On Fri, Nov 9, 2012 at 7:37 AM, Simone Busoli <1076...@bugs.launchpad.net> wrote: > We've "fixed" it already in trunk, by switching back to CallContext but > modifying what we store so that it will go to the logical call context. The > good thing is that you'll not get the NIE anymore, but the test context > will not work correctly with tests using threads, which is probably not > something you can about anyways. > > > On Fri, Nov 9, 2012 at 4:28 PM, Charlie Poole <char...@nunit.com> wrote: > >> Bummer! Through 2.6.1, we used CallContext rather than >> LogicalCallContext. We switched in the process of adding support for >> async test methods. We'll have to figure out something else under >> Mono. >> >> Charlie >> >> On Fri, Nov 9, 2012 at 1:40 AM, Weeble <clockworksa...@gmail.com> wrote: >> > Public bug reported: >> > >> > 2.6.2 gives me System.NotImplementedException when trying to run on >> > Mono. It appears that TestExecutionContext depends on >> > CallContext.LogicalSetData which has not yet been implemented in any >> > version of Mono: >> > >> > >> https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Runtime.Remoting.Messaging/CallContext.cs >> > >> > Here's the output: >> > >> > NUnit-Console version 2.6.2.12296 >> > Copyright (C) 2002-2012 Charlie Poole. >> > Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. >> Vorontsov. >> > Copyright (C) 2000-2002 Philip Craig. >> > All Rights Reserved. >> > >> > Runtime Environment - >> > OS Version: Unix 3.0.0.26 >> > CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 2.11.1 (tarball Tue Jun 19 >> 11:15:02 BST 2012) ) ) >> > >> > ProcessModel: Default DomainUsage: Single >> > Execution Runtime: v4.0 >> > >> > >> > Unhandled exceptions: >> > 1) : System.ApplicationException: Exception in TestRunnerThread ---> >> System.NotImplementedException: The requested feature is not implemented. >> > at NUnit.Core.TestExecutionContext.Save () [0x00000] in <filename >> unknown>:0 >> > at NUnit.Core.TestSuite.RunSuiteInContext (EventListener listener, >> ITestFilter filter) [0x00000] in <filename unknown>:0 >> > at NUnit.Core.TestSuite.Run (EventListener listener, ITestFilter >> filter) [0x00000] in <filename unknown>:0 >> > at NUnit.Core.SimpleTestRunner.Run (EventListener listener, >> ITestFilter filter, Boolean tracing, LoggingThreshold logLevel) [0x00000] >> in <filename unknown>:0 >> > --- End of inner exception stack trace --- >> > at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00000] in >> <filename unknown>:0 >> > at System.Threading.Thread.StartInternal () [0x00016] in >> /tmp/mono-build.20120619110041.32724/mono-2.11.1/mcs/class/corlib/System.Threading/Thread.cs:780 >> > Traceback (most recent call last): >> > >> > 2.6.1 seems to work fine. >> > >> > ** Affects: nunitv2 >> > Importance: Undecided >> > Status: New >> > >> > -- >> > You received this bug notification because you are subscribed to NUnit >> > Extended Testing Platform. >> > https://bugs.launchpad.net/bugs/1076932 >> > >> > Title: >> > NotImplementedException with Mono >> > >> > To manage notifications about this bug go to: >> > https://bugs.launchpad.net/nunitv2/+bug/1076932/+subscriptions >> >> >> ** Changed in: nunitv2 >> Status: New => Triaged >> >> ** Changed in: nunitv2 >> Importance: Undecided => Critical >> >> ** Tags added: mono-issue >> >> -- >> You received this bug notification because you are a member of NUnit >> Developers, which is subscribed to NUnit V2. >> https://bugs.launchpad.net/bugs/1076932 >> >> Title: >> NotImplementedException with Mono >> >> Status in NUnit V2 Test Framework: >> Triaged >> >> Bug description: >> 2.6.2 gives me System.NotImplementedException when trying to run on >> Mono. It appears that TestExecutionContext depends on >> CallContext.LogicalSetData which has not yet been implemented in any >> version of Mono: >> >> >> https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Runtime.Remoting.Messaging/CallContext.cs >> >> Here's the output: >> >> NUnit-Console version 2.6.2.12296 >> Copyright (C) 2002-2012 Charlie Poole. >> Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. >> Vorontsov. >> Copyright (C) 2000-2002 Philip Craig. >> All Rights Reserved. >> >> Runtime Environment - >> OS Version: Unix 3.0.0.26 >> CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 2.11.1 (tarball Tue Jun 19 >> 11:15:02 BST 2012) ) ) >> >> ProcessModel: Default DomainUsage: Single >> Execution Runtime: v4.0 >> >> >> Unhandled exceptions: >> 1) : System.ApplicationException: Exception in TestRunnerThread ---> >> System.NotImplementedException: The requested feature is not implemented. >> at NUnit.Core.TestExecutionContext.Save () [0x00000] in <filename >> unknown>:0 >> at NUnit.Core.TestSuite.RunSuiteInContext (EventListener listener, >> ITestFilter filter) [0x00000] in <filename unknown>:0 >> at NUnit.Core.TestSuite.Run (EventListener listener, ITestFilter >> filter) [0x00000] in <filename unknown>:0 >> at NUnit.Core.SimpleTestRunner.Run (EventListener listener, >> ITestFilter filter, Boolean tracing, LoggingThreshold logLevel) [0x00000] >> in <filename unknown>:0 >> --- End of inner exception stack trace --- >> at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00000] in >> <filename unknown>:0 >> at System.Threading.Thread.StartInternal () [0x00016] in >> /tmp/mono-build.20120619110041.32724/mono-2.11.1/mcs/class/corlib/System.Threading/Thread.cs:780 >> Traceback (most recent call last): >> >> 2.6.1 seems to work fine. >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/nunitv2/+bug/1076932/+subscriptions >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~nunit-core >> Post to : nunit-core@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~nunit-core >> More help : https://help.launchpad.net/ListHelp >> > > -- > You received this bug notification because you are a bug assignee. > https://bugs.launchpad.net/bugs/1076932 > > Title: > NotImplementedException with Mono > > To manage notifications about this bug go to: > https://bugs.launchpad.net/nunitv2/+bug/1076932/+subscriptions -- You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2. https://bugs.launchpad.net/bugs/1076932 Title: NotImplementedException with Mono Status in NUnit V2 Test Framework: Triaged Bug description: 2.6.2 gives me System.NotImplementedException when trying to run on Mono. It appears that TestExecutionContext depends on CallContext.LogicalSetData which has not yet been implemented in any version of Mono: https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Runtime.Remoting.Messaging/CallContext.cs Here's the output: NUnit-Console version 2.6.2.12296 Copyright (C) 2002-2012 Charlie Poole. Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. Copyright (C) 2000-2002 Philip Craig. All Rights Reserved. Runtime Environment - OS Version: Unix 3.0.0.26 CLR Version: 4.0.30319.17020 ( Mono 4.0 ( 2.11.1 (tarball Tue Jun 19 11:15:02 BST 2012) ) ) ProcessModel: Default DomainUsage: Single Execution Runtime: v4.0 Unhandled exceptions: 1) : System.ApplicationException: Exception in TestRunnerThread ---> System.NotImplementedException: The requested feature is not implemented. at NUnit.Core.TestExecutionContext.Save () [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.RunSuiteInContext (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.TestSuite.Run (EventListener listener, ITestFilter filter) [0x00000] in <filename unknown>:0 at NUnit.Core.SimpleTestRunner.Run (EventListener listener, ITestFilter filter, Boolean tracing, LoggingThreshold logLevel) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () [0x00000] in <filename unknown>:0 at System.Threading.Thread.StartInternal () [0x00016] in /tmp/mono-build.20120619110041.32724/mono-2.11.1/mcs/class/corlib/System.Threading/Thread.cs:780 Traceback (most recent call last): 2.6.1 seems to work fine. To manage notifications about this bug go to: https://bugs.launchpad.net/nunitv2/+bug/1076932/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp