See
<https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/64/display/redirect>
------------------------------------------
[...truncated 125.33 KB...]
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Util/SystemInfo.cs(1007,34):
warning CS0618: `System.Configuration.ConfigurationSettings.AppSettings' is
obsolete: `This property is obsolete. Please use
System.Configuration.ConfigurationManager.AppSettings'
[csc] Compilation succeeded - 6 warning(s)
BUILD SUCCEEDED - 0 non-fatal error(s), 12 warning(s)
Total time: 3.3 seconds.
Stashed 6 file(s)
[Pipeline] stash
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ nant -t:mono-4.0 -buildfile:tests/nant.build runtests-mono-4.0
[Pipeline] sh
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) <0x41544c20 + 0x009cb> in
<filename unknown>:0
[nunit2] at System.String.Format (IFormatProvider provider, System.String
format, System.Object[] args) <0x41544a60 + 0x00093> in <filename unknown>:0
[nunit2] at log4net.Util.SystemStringFormat.StringFormat (IFormatProvider
provider, System.String format, System.Object[] args) <0x4165a790 + 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: 19.9 seconds.
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
$ docker stop --time=1
85adbee4feebb22d897f95b53fde241fd3d12e8b09770d46a00515258bf0486f
$ docker rm -f 85adbee4feebb22d897f95b53fde241fd3d12e8b09770d46a00515258bf0486f
[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
---> ab1dcd1a2496
Step 2/3 : MAINTAINER "[email protected]"
---> Using cache
---> 1a392e603f49
Step 3/3 : RUN apt-get update && apt-get install -y nant git
---> Using cache
---> 67e2a492c30d
Successfully built 67e2a492c30d
[Pipeline] dockerFingerprintFrom
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ docker inspect -f . 220643b688e1e37454b379682087ec420123d257
.
[Pipeline] withDockerContainer
H22 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] withEnv
[Pipeline] {
[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 fb9564a8edda45db850adcb5ae7b4ddf7f94f2b8
(feature/cd-pipeline)
> git config core.sparsecheckout # timeout=10
> git checkout -f fb9564a8edda45db850adcb5ae7b4ddf7f94f2b8
[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(2016,8):
External Program Failed: dotnet (return code was 1)
Total time: 2.7 seconds.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
$ docker stop --time=1
c07203f684987f590086fc742c71d92b8c5949d67102a1408d9c201a7316935f
$ docker rm -f c07203f684987f590086fc742c71d92b8c5949d67102a1408d9c201a7316935f
[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)