See <https://builds.apache.org/job/log4net-trunk-tests/71/display/redirect>

------------------------------------------
[...truncated 3.73 KB...]
http://nant.sourceforge.net

Buildfile: 
file:///f:/jenkins/jenkins-slave/workspace/log4net-trunk-tests/log4net.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: compile-net-4.0 


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-current-build-config:


set-framework-configuration:


check-bin-dir:


check-doc-dir:

    [mkdir] Creating directory 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/doc'.>

check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-4.0-runtime-configuration:


check-log4net-basedir:


check-current-bin-dir:


clean-current-bin-dir:

     [echo] Cleaning the bin/net/4.0/debug binaries directory.
   [delete] Deleting directory 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug'.>
    [mkdir] Creating directory 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug'.>

compile-net-4.0:

      [csc] Compiling 222 files to 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug\log4net.dll'.>

BUILD SUCCEEDED

Total time: 1.3 seconds.

Executing command: cmd.exe /C "F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe 
-buildfile:tests/nant.build && exit %%ERRORLEVEL%%"
[log4net-trunk-tests] $ cmd.exe /C 
"F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe -buildfile:tests/nant.build && 
exit %%ERRORLEVEL%%"
NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///f:/jenkins/jenkins-slave/workspace/log4net-trunk-tests/tests/nant.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: runtests 


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-current-build-config:


set-framework-configuration:


check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-4.0-runtime-configuration:


runtests:

     [echo] Running tests for net-4.0

check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-4.0-runtime-configuration:


check-log4net-basedir:


check-current-bin-dir:


clean-current-bin-dir:

     [echo] Cleaning the bin/net/4.0/debug binaries directory.
   [delete] Deleting directory 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\bin\net\4.0\debug'.>
    [mkdir] Creating directory 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\bin\net\4.0\debug'.>

check-log4net-output-dir:


check-log4net-assembly:


compile-net-4.0:

     [copy] Copying 3 files to 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\bin\net\4.0\debug'.>
     [copy] Copying 1 file to 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\bin\net\4.0\debug'.>
      [csc] Compiling 39 files to 
'<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\bin\net\4.0\debug\log4net.Tests.dll'.>

runtests-net-4.0:

   [nunit2] log4net:WARN Exception while rendering format [IGNORE THIS WARNING 
- EXCEPTION EXPECTED Before {0} After {1} {2}]
   [nunit2] System.FormatException: Index (zero based) must be greater than or 
equal to zero and less than the size of the argument list.
   [nunit2]    at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider 
provider, String format, ParamsArray args)
   [nunit2]    at System.String.FormatHelper(IFormatProvider provider, String 
format, ParamsArray args)
   [nunit2]    at System.String.Format(IFormatProvider provider, String format, 
Object[] args)
   [nunit2]    at log4net.Util.SystemStringFormat.StringFormat(IFormatProvider 
provider, String format, Object[] args) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/src\Util\SystemStringFormat.cs>:line
 105
   [nunit2] log4net:ERROR Hello
   [nunit2] log4net:ERROR World
   [nunit2] log4net:ERROR This will be recorded.
   [nunit2] log4net:ERROR This will be recorded.
   [nunit2] 
   [nunit2] Tests run: 154, Errors: 2, Failures: 0, Time: 14.593 seconds
   [nunit2]   Not run: 6, Invalid: 0, Ignored: 6, Skipped: 0
   [nunit2] 
   [nunit2] Test Case Failures:
   [nunit2] 1) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitializeRollBackups1 : 
System.Reflection.TargetInvocationException : Exception has been thrown by the 
target of an invocation.
   [nunit2]   ----> System.ArgumentOutOfRangeException : startIndex cannot be 
larger than length of string.
   [nunit2] Parameter name: startIndex
   [nunit2] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] 
arguments, Signature sig, Boolean constructor)
   [nunit2] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object 
obj, Object[] parameters, Object[] arguments)
   [nunit2] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, 
BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo 
culture)
   [nunit2] at System.Reflection.MethodBase.Invoke(Object obj, Object[] 
parameters)
   [nunit2] at log4net.Tests.Utils.InvokeMethod(Object target, String name, 
Object[] args) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Utils.cs>:line 
46
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.InitializeRollBackups(RollingFileAppender
 appender, String baseFile, ArrayList arrayFiles) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1904
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.InitializeAndVerifyExpectedValue(ArrayList
 alFiles, String sBaseFile, RollingFileAppender rfa, Int32 iExpectedValue) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1285
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.VerifyInitializeRollBackupsFromBaseFile(String
 sBaseFile, ArrayList alFiles, Int32 iExpectedCurSizeRollBackups) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1132
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitializeRollBackups1() in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1151
   [nunit2] --ArgumentOutOfRangeException
   [nunit2] at System.String.Substring(Int32 startIndex, Int32 length)
   [nunit2] at 
log4net.Appender.RollingFileAppender.InitializeFromOneFile(String origBaseFile, 
String origCurFileName) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/src\Appender\RollingFileAppender.cs>:line
 905
   [nunit2] at 
log4net.Appender.RollingFileAppender.InitializeRollBackups(String baseFile, 
ArrayList arrayFiles) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/src\Appender\RollingFileAppender.cs>:line
 985
   [nunit2] 
   [nunit2] 2) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitializeRollBackups4 : 
System.Reflection.TargetInvocationException : Exception has been thrown by the 
target of an invocation.
   [nunit2]   ----> System.ArgumentOutOfRangeException : startIndex cannot be 
larger than length of string.
   [nunit2] Parameter name: startIndex
   [nunit2] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] 
arguments, Signature sig, Boolean constructor)
   [nunit2] at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object 
obj, Object[] parameters, Object[] arguments)
   [nunit2] at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, 
BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo 
culture)
   [nunit2] at System.Reflection.MethodBase.Invoke(Object obj, Object[] 
parameters)
   [nunit2] at log4net.Tests.Utils.InvokeMethod(Object target, String name, 
Object[] args) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Utils.cs>:line 
46
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.InitializeRollBackups(RollingFileAppender
 appender, String baseFile, ArrayList arrayFiles) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1904
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.VerifyInitializeRollBackups(Int32
 iBackups, Int32 iMaxSizeRollBackups) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1811
   [nunit2] at 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitializeRollBackups4() in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\src\Appender\RollingFileAppenderTest.cs>:line
 1837
   [nunit2] --ArgumentOutOfRangeException
   [nunit2] at System.String.Substring(Int32 startIndex, Int32 length)
   [nunit2] at 
log4net.Appender.RollingFileAppender.InitializeFromOneFile(String origBaseFile, 
String origCurFileName) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/src\Appender\RollingFileAppender.cs>:line
 905
   [nunit2] at 
log4net.Appender.RollingFileAppender.InitializeRollBackups(String baseFile, 
ArrayList arrayFiles) in 
<https://builds.apache.org/job/log4net-trunk-tests/ws/src\Appender\RollingFileAppender.cs>:line
 985
   [nunit2] 
   [nunit2] Tests not run:
   [nunit2] 1) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitialization3 : Not 
Implemented: Want to test counted files limited up, to see that others are ?? 
ignored? deleted?
   [nunit2] 2) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitialization4 : Not 
Implemented: Want to test counted files limited down, to see that others are ?? 
ignored? deleted?
   [nunit2] 3) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitialization5 : Not 
Implemented: Want to test dated files with a limit, to see that others are ?? 
ignored? deleted?
   [nunit2] 4) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitialization6 : Not 
Implemented: Want to test dated files with no limit, to see that others are ?? 
ignored? deleted?
   [nunit2] 5) 
log4net.Tests.Appender.RollingFileAppenderTest.TestInitialization7 : Not 
Implemented: Want to test dated files with mixed dates existing, to see that 
other dates do not matter
   [nunit2] 6) 
log4net.Tests.Util.EnvironmentPatternConverterTest.SystemLevelEnvironmentVariable
 : Test skipped as current user must not set system level environment variables
   [nunit2] 
   [nunit2] 

BUILD FAILED

<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\nant.build(620,10)>:
Tests Failed.

Total time: 15.8 seconds.

Build step 'Execute NAnt build' marked build as failure

Reply via email to