See
<https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/84/display/redirect>
------------------------------------------
[...truncated 127.18 KB...]
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) <0x4156bc20 + 0x009cb> in
<filename unknown>:0
[nunit2] at System.String.Format (IFormatProvider provider, System.String
format, System.Object[] args) <0x4156ba60 + 0x00093> in <filename unknown>:0
[nunit2] at log4net.Util.SystemStringFormat.StringFormat (IFormatProvider
provider, System.String format, System.Object[] args) <0x40586960 + 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: 21.1 seconds.
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
$ docker stop --time=1
786d9ddaca273836328ac20efd968604798a518672e2a0760d804b3f5f687e64
$ docker rm -f 786d9ddaca273836328ac20efd968604798a518672e2a0760d804b3f5f687e64
[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 89f4c62ab6f57a668610ef268a76c2b64c72b7c4 -f
buildtools/docker/builder-netstandard/Dockerfile
buildtools/docker/builder-netstandard
Sending build context to Docker daemon 4.096 kB
Step 1/7 : FROM microsoft/dotnet
---> ab1dcd1a2496
Step 2/7 : MAINTAINER "[email protected]"
---> Using cache
---> 1a392e603f49
Step 3/7 : RUN apt-get update && apt-get install -y nant git
---> Using cache
---> 67e2a492c30d
Step 4/7 : RUN apt-get update && apt-get -y --no-install-recommends install
ca-certificates curl
---> Running in d1e3f1728c52
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [524 kB]
Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [17.8 kB]
Get:5 http://deb.debian.org jessie/main amd64 Packages [9065 kB]
Fetched 9815 kB in 6s (1588 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version.
curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
---> ce017ec1e886
Removing intermediate container d1e3f1728c52
Step 5/7 : RUN curl -o /usr/local/bin/gosu -SL
"https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg
--print-architecture)" && chmod +x /usr/local/bin/gosu
---> Running in 7190e6a4b32f
[91m % Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0[0m[91m100 600 0 600 0 0 2247 0 --:--:-- --:--:--
--:--:-- 2255
[0m[91m 4 2214k 4 100k 0 0 108k 0 0:00:20 --:--:--
0:00:20 108k[0m[91m 82 2214k 82 1818k 0 0 963k 0 0:00:02
0:00:0[0m[91m1 0:00:01 1793k[0m[91m100 2214k 100 2214k 0 0 1134k
0 0:00:01 0:00:01 --:--:-- 2068k
[0m ---> 9d0846b5aefa
Removing intermediate container 7190e6a4b32f
Step 6/7 : COPY entrypoint.sh /usr/local/bin/entrypoint.sh
---> 76d841be4f40
Removing intermediate container 12570d32756d
Step 7/7 : ENTRYPOINT /usr/local/bin/entrypoint.sh
---> Running in 350504b78a61
---> baa9b6e6513a
Removing intermediate container 350504b78a61
Successfully built baa9b6e6513a
[Pipeline] dockerFingerprintFrom
[Pipeline] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
+ docker inspect -f . 89f4c62ab6f57a668610ef268a76c2b64c72b7c4
.
[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
89f4c62ab6f57a668610ef268a76c2b64c72b7c4
[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 a4413073a75c3b88392358c7b14cea723b3eb750
(feature/cd-pipeline)
> git config core.sparsecheckout # timeout=10
> git checkout -f a4413073a75c3b88392358c7b14cea723b3eb750
[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:
[echo] dotnet --version
[exec] 1.0.4
[echo] dotnet restore log4net.netstandard.sln
[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(1768,8):
External Program Failed: dotnet (return code was 1)
Total time: 3.8 seconds.
[Pipeline] }
$ docker stop --time=1
847baaf43d58ce1a2420332b7fd0a63225f01029b05323654deb6752fcbf0375
$ docker rm -f 847baaf43d58ce1a2420332b7fd0a63225f01029b05323654deb6752fcbf0375
[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)
[Pipeline] step