Bug 5934 - Test MonoTests.Microsoft.CSharp.CSharpCodeProviderTest fails on Mac OS
Summary: Test MonoTests.Microsoft.CSharp.CSharpCodeProviderTest fails on Mac OS
Status: RESOLVED INVALID
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-30 00:09 UTC by Martin Baulig
Modified: 2012-07-02 13:11 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 INVALID

Description Martin Baulig 2012-06-30 00:09:48 UTC
These tests fail on Mac OS:

====
NUnit version 2.4.8
Copyright (C) 2002-2007 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 11.4.2.0
  CLR Version: 4.0.30319.17020 ( 2.11.3 (master/9afa824 Sat Jun 30 05:46:04 CEST 2012) )

Excluded categories: NotWorking,NotOnMac
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDom_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDom_NotInMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDomBatch_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDomBatch_NotInMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFile_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Executable_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Library_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSource_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSourceBatch_InMemory
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.FileExtension
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.GeneratorSupports
***** MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.LanguageOptionsTest

Tests run: 12, Failures: 9, Not run: 0, Time: 3.980 seconds

Test Case Failures:
1) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDom_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDom_InMemory () [0x0007f] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:479
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

2) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDom_NotInMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x001e9] in /work/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:254

3) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDomBatch_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDomBatch_InMemory () [0x00090] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:510
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

4) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromDomBatch_NotInMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x001e9] in /work/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:254

5) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFile_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFile_InMemory () [0x000b5] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:118
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

6) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Executable_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Executable_InMemory () [0x00157] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:184
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

7) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Library_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromFileBatch_Library_InMemory () [0x0014b] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:275
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

8) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSource_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSource_InMemory () [0x0007f] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:350
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229

9) MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSourceBatch_InMemory : System.Exception : (0,0) : error : /work/mono/mcs/class/System/mscorlib.dll (Location of the symbol related to previous warning)
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.AssertCompileResults (System.CodeDom.Compiler.CompilerResults results, Boolean allowWarnings) [0x00033] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:559
at MonoTests.Microsoft.CSharp.CSharpCodeProviderTest.CompileFromSourceBatch_InMemory () [0x000aa] in /work/mono/mcs/class/System/Test/Microsoft.CSharp/CSharpCodeProviderTest.cs:385
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /work/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:229


====
Comment 1 Martin Baulig 2012-06-30 00:13:23 UTC
I added [Category ("NotOnMac")] to the failing ones in 58ae80aa.
Comment 2 Martin Baulig 2012-07-02 13:11:26 UTC
No idea what this was, but I can't reproduce it anymore.  Re-enabled the tests.