You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/11/11 23:46:37 UTC
Build failed in Jenkins: logging-log4net » feature/cd-pipeline #175
See <https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/175/display/redirect>
------------------------------------------
[...truncated 123.33 KB...]
[exec] Installing Microsoft.NETCore.Jit 1.0.6.
[exec] Installing Microsoft.TestPlatform.TestHost 15.5.0.
[exec] Installing Microsoft.CodeCoverage 1.0.3.
[exec] Installing System.Xml.XPath.XmlDocument 4.3.0.
[exec] Installing NUnit 3.9.0.
[exec] Installing System.ComponentModel.EventBasedAsync 4.3.0.
[exec] Installing System.Xml.XmlDocument 4.3.0.
[exec] Installing Microsoft.NETCore.App 1.0.4.
[exec] Installing NUnit3TestAdapter 3.9.0.
[exec] Installing Microsoft.NET.Test.Sdk 15.5.0.
[exec] Installing Microsoft.NETCore.DotNetHostPolicy 1.0.3.
[exec] Installing System.Net.Http 4.1.1.
[exec] Installing Microsoft.NETCore.Runtime.CoreCLR 1.0.6.
[exec] Generating MSBuild file /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/obj/log4net.tests.csproj.nuget.g.props.
[exec] Generating MSBuild file /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/obj/log4net.tests.csproj.nuget.g.targets.
[exec] Restore completed in 3.88 sec for /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/log4net.tests.csproj.
[echo] dotnet build log4net
[exec] Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
[exec] Copyright (C) Microsoft Corporation. All rights reserved.
[exec]
[exec] log4net -> /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net/bin/Debug/netstandard1.3/log4net.dll
[exec]
[exec] Build succeeded.
[exec] 0 Warning(s)
[exec] 0 Error(s)
[exec]
[exec] Time Elapsed 00:00:04.07
[mkdir] Creating directory '/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/bin/netstandard/1.3'.
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/log4net.build(1790,8): Task <ifnot> is deprecated. Use the <if> task instead.
[move] 1 directory moved.
set-release-build-configuration:
check-current-build-config:
set-build-configuration-flags:
compile-netstandard-1.3-current-configuration:
[echo] dotnet --version
[exec] 1.1.0
[echo] dotnet restore log4net.netstandard.sln
[exec] Restore completed in 45.74 ms for /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net/log4net.csproj.
[exec] Restore completed in 49.07 ms for /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/log4net.tests.csproj.
[echo] dotnet build log4net
[exec] Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
[exec] Copyright (C) Microsoft Corporation. All rights reserved.
[exec]
[exec] log4net -> /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net/bin/Release/netstandard1.3/log4net.dll
[exec]
[exec] Build succeeded.
[exec] 0 Warning(s)
[exec] 0 Error(s)
[exec]
[exec] Time Elapsed 00:00:04.15
[move] 1 directory moved.
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/log4net.build(1790,8): Task <ifnot> is deprecated. Use the <if> task instead.
BUILD SUCCEEDED - 0 non-fatal error(s), 2 warning(s)
Total time: 48.9 seconds.
[Pipeline] stash
Stashed 6 file(s)
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA] Running shell script
+ nant -buildfile:tests/nant.build runtests-netstandard-1.3
NAnt 0.92 (Build 0.92.4526.0; rc1; 05/23/2012)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net
Cannot contact H26: java.lang.InterruptedException
Buildfile: file:///home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/nant.build
Target framework: Mono 4.0 Profile
Target(s) specified: runtests-netstandard-1.3
check-current-build-config:
set-build-configuration:
set-debug-build-configuration:
check-current-build-config:
set-build-configuration-flags:
runtests-netstandard-1.3:
[exec] Build started, please wait...
[exec] Build completed.
[exec]
[exec] Test run for /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/bin/Debug/netcoreapp1.0/log4net.tests.dll(.NETCoreApp,Version=v1.0)
[exec] Microsoft (R) Test Execution Command Line Tool Version 15.0.0.0
[exec] Copyright (c) Microsoft Corporation. All rights reserved.
[exec]
[exec] Starting test execution, please wait...
[exec] NUnit Adapter 3.9.0.0: Test execution started
[exec] Running all tests in /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/bin/Debug/netcoreapp1.0/log4net.tests.dll
[exec] NUnit3TestExecutor converted 159 of 159 NUnit test cases
[exec] Failed TestExclusiveLockLocks
[exec] Error Message:
[exec] Log contents is not what is expected
[exec] String lengths are both 38. Strings differ at index 0.
[exec] Expected: "This is a message\nThis is a message 2\n"
[exec] But was: "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0This is a message 2\n"
[exec] -----------^
[exec]
[exec] Stack Trace:
[exec] at log4net.Tests.Appender.RollingFileAppenderTest.AssertFileEquals(String filename, String contents) in /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/src/Appender/RollingFileAppenderTest.cs:line 1464
[exec] at log4net.Tests.Appender.RollingFileAppenderTest.TestExclusiveLockLocks() in /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/src/Appender/RollingFileAppenderTest.cs:line 1564
[exec]
[exec] Skipped TestInitialization3
[exec] Error Message:
[exec] Not Implemented: Want to test counted files limited up, to see that others are ?? ignored? deleted?
[exec]
[exec] Skipped TestInitialization4
[exec] Error Message:
[exec] Not Implemented: Want to test counted files limited down, to see that others are ?? ignored? deleted?
[exec]
[exec] Skipped TestInitialization5
[exec] Error Message:
[exec] Not Implemented: Want to test dated files with a limit, to see that others are ?? ignored? deleted?
[exec]
[exec] Skipped TestInitialization6
[exec] Error Message:
[exec] Not Implemented: Want to test dated files with no limit, to see that others are ?? ignored? deleted?
[exec]
[exec] Skipped TestInitialization7
[exec] Error Message:
[exec] Not Implemented: Want to test dated files with mixed dates existing, to see that other dates do not matter
[exec]
[exec] log4net:WARN Exception while rendering format [IGNORE THIS WARNING - EXCEPTION EXPECTED Before {0} After {1} {2}]
[exec] System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
[exec] at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
[exec] at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
[exec] at System.String.Format(IFormatProvider provider, String format, Object[] args)
[exec] at log4net.Util.SystemStringFormat.StringFormat(IFormatProvider provider, String format, Object[] args) in /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Util/SystemStringFormat.cs:line 105
[exec] Skipped TestStackTracePattern
[exec] Error Message:
[exec] System.Diagnostics.StackTrace isn't fully implemented on NETSTANDARD1_3
[exec]
[exec] Skipped TestStackTracePattern
[exec] Error Message:
[exec] System.Diagnostics.StackTrace isn't fully implemented on NETSTANDARD1_3
[exec]
[exec] log4net:ERROR Hello
[exec] log4net:ERROR World
[exec] log4net:ERROR This will be recorded.
[exec] log4net:ERROR This will be recorded.
[exec] NUnit Adapter 3.9.0.0: Test execution complete
[exec] Skipped TestGetTypeFromStringSearch
[exec] Error Message:
[exec] This test relies on enumerating loaded assemblies, which is presently impossible in CoreFX (https://github.com/dotnet/corefx/issues/1784).
[exec]
[exec] Results File: /home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.tests/TestResults/_32a9927a2a77_2017-11-11_23:46:26.trx
[exec]
[exec] Total tests: 159. Passed: 150. Failed: 1. Skipped: 8.
[exec] Test Run Failed.
[exec] Test execution time: 5.9902 Seconds
[exec]
[exec]
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/nant.build(869,10):
External Program Failed: dotnet (return code was 1)
Total time: 12.1 seconds.
[Pipeline] }
$ docker stop --time=1 32a9927a2a771573ba97a794df4ab36511f6341d5197855d2df382ae9b46cf28
$ docker rm -f 32a9927a2a771573ba97a794df4ab36511f6341d5197855d2df382ae9b46cf28
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build net-3.5)
Stage 'build net-3.5' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build net-3.5-cp)
Stage 'build net-3.5-cp' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build net-4.0)
Stage 'build net-4.0' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build net-4.0-cp)
Stage 'build net-4.0-cp' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build net-4.5)
Stage 'build net-4.5' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build mono-2.0)
Stage 'build mono-2.0' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build mono-3.5)
Stage 'build mono-3.5' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build mono-4.0)
Stage 'build mono-4.0' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build site)
Stage 'build site' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (prepare package)
Stage 'prepare package' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (check test results)
Stage 'check test results' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (publish site)
Stage 'publish site' skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] step