See
<https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/71/display/redirect>
------------------------------------------
[...truncated 125.60 KB...]
[csc] Compilation succeeded - 6 warning(s)
BUILD SUCCEEDED - 0 non-fatal error(s), 12 warning(s)
Total time: 3.1 seconds.
[Pipeline] stash
Stashed 6 file(s)
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ nant -t:mono-4.0 -buildfile:tests/nant.build runtests-mono-4.0
NAnt 0.92 (Build 0.92.4526.0; rc1; 05/23/2012)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net
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-mono-4.0
check-current-build-config:
set-build-configuration:
set-debug-build-configuration:
check-current-build-config:
set-build-configuration-flags:
check-bin-dir:
[mkdir] Creating directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin'.
check-doc-dir:
[mkdir] Creating directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/doc'.
check-sdkdoc-dir:
check-sdkdoc-debug:
check-build-debug:
check-build-defines:
set-mono-4.0-runtime-configuration:
check-log4net-basedir:
check-current-bin-dir:
[mkdir] Creating directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug'.
clean-current-bin-dir:
[echo] Cleaning the bin/mono/4.0/debug binaries directory.
[delete] Deleting directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug'.
[mkdir] Creating directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug'.
check-log4net-output-dir:
check-log4net-assembly:
[echo] Testing if file exists: ..//bin/mono/4.0/debug/log4net.dll
install-nunit:
[get] Retrieving
'https://github.com/nunit/nunitv2/releases/download/2.6.4/NUnit-2.6.4.zip' to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/.tmp-nunit.zip'.
[unzip] Unzipping
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/.tmp-nunit.zip'
to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/.tmp-nunit'.
[copy] Copying 1 file to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/lib/mono/4.0/debug'.
[delete] Deleting file
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/.tmp-nunit.zip.
[delete] Deleting directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/.tmp-nunit'.
compile-mono-4.0:
[copy] Copying 3 files to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug'.
[copy] Copying 1 file to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug'.
[csc] Compiling 46 files to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/bin/mono/4.0/debug/log4net.Tests.dll'.
runtests-mono-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.AppendFormat (IFormatProvider
provider, System.String format, System.Object[] args) <0x40b19c20 + 0x009cb> in
<filename unknown>:0
[nunit2] at System.String.Format (IFormatProvider provider, System.String
format, System.Object[] args) <0x40b19a60 + 0x00093> in <filename unknown>:0
[nunit2] at log4net.Util.SystemStringFormat.StringFormat (IFormatProvider
provider, System.String format, System.Object[] args) <0x40c30220 + 0x00068> in
<filename unknown>:0
[nunit2] log4net:ERROR Hello
[nunit2] log4net:ERROR World
[nunit2] log4net:ERROR This will be recorded.
[nunit2] log4net:ERROR This will be recorded.
[nunit2]
[nunit2]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/tests/nant.build(828,10):
[nunit2] Tests Failed.
BUILD SUCCEEDED - 1 non-fatal error(s), 0 warning(s)
Total time: 20.6 seconds.
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
$ docker stop --time=1
3555da96039df725bd4757dc18b934352b96337512025e38f7462e268583e248
$ docker rm -f 3555da96039df725bd4757dc18b934352b96337512025e38f7462e268583e248
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build netstandard)
[Pipeline] getContext
[Pipeline] readFile
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ docker build -t 220643b688e1e37454b379682087ec420123d257 -f
buildtools/docker/builder-netstandard/Dockerfile
buildtools/docker/builder-netstandard
Sending build context to Docker daemon 2.048 kB
Step 1/3 : FROM microsoft/dotnet
---> e692284946db
Step 2/3 : MAINTAINER "[email protected]"
---> Using cache
---> abab78313af3
Step 3/3 : RUN apt-get update && apt-get install -y nant git
---> Using cache
---> 13b82daa5a4e
Successfully built 13b82daa5a4e
[Pipeline] dockerFingerprintFrom
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ docker inspect -f . 220643b688e1e37454b379682087ec420123d257
.
[Pipeline] withDockerContainer
H23 does not seem to be running inside a container
$ docker run -t -d -u 10025:12040 -w
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA
-v
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA:/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA:rw
-v
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA@tmp:/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA@tmp:rw
-e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e
******** -e ******** -e ******** -e ******** -e ******** -e ******** -e
******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat
220643b688e1e37454b379682087ec420123d257
[Pipeline] {
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
++ pwd
+ export
PACKAGEHOME=/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/.nuget/
+
PACKAGEHOME=/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/.nuget/
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ rm -rf bin/ tests/
[Pipeline] checkout
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from 2 remote Git repositories
> git config remote.origin.url https://github.com/apache/logging-log4net.git #
> timeout=10
Fetching upstream changes from https://github.com/apache/logging-log4net.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials dpsenner at github
> git fetch --tags --progress https://github.com/apache/logging-log4net.git
> +refs/heads/*:refs/remotes/origin/*
> git config remote.origin1.url https://github.com/apache/logging-log4net.git
> # timeout=10
Fetching upstream changes from https://github.com/apache/logging-log4net.git
using GIT_ASKPASS to set credentials dpsenner at github
> git fetch --tags --progress https://github.com/apache/logging-log4net.git
> +refs/pull/*/head:refs/remotes/origin/pr/*
Checking out Revision b3889c085598ae2af22a73a442ad345fd5b81195
(feature/cd-pipeline)
> git config core.sparsecheckout # timeout=10
> git checkout -f b3889c085598ae2af22a73a442ad345fd5b81195
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ nant compile-netstandard
NAnt 0.92 (Build 0.92.4526.0; rc1; 05/23/2012)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net
Buildfile:
file:///home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/log4net.build
Target framework: Mono 4.0 Profile
Target(s) specified: compile-netstandard
check-current-build-config:
set-build-configuration:
set-debug-build-configuration:
check-current-build-config:
set-build-configuration-flags:
compile-netstandard:
set-debug-build-configuration:
check-current-build-config:
set-build-configuration-flags:
compile-netstandard-current-configuration:
[exec] 1.0.4
[exec] /usr/share/dotnet/sdk/1.0.4/NuGet.targets(97,5): error : Failed to
read NuGet.Config due to unauthorized access. Path:
'/.nuget/NuGet/NuGet.Config'.
[/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.netstandard.sln]
[exec] /usr/share/dotnet/sdk/1.0.4/NuGet.targets(97,5): error : Access
to the path '/.nuget/NuGet' is denied.
[/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.netstandard.sln]
[exec] /usr/share/dotnet/sdk/1.0.4/NuGet.targets(97,5): error :
Permission denied
[/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/netstandard/log4net.netstandard.sln]
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/log4net.build(1766,8):
External Program Failed: dotnet (return code was 1)
Total time: 2.7 seconds.
[Pipeline] }
$ docker stop --time=1
d61f5b2ca700f54faf6dd17212cf0a258f6633c891c8305934657b482834e427
$ docker rm -f d61f5b2ca700f54faf6dd17212cf0a258f6633c891c8305934657b482834e427
[Pipeline] // withDockerContainer
[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)