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/07/08 11:45:55 UTC
Build failed in Jenkins: logging-log4net » feature/cd-pipeline #85
See <https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/85/display/redirect>
------------------------------------------
[...truncated 126.07 KB...]
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) <0x4084ac20 + 0x009cb> in <filename unknown>:0
[nunit2] at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) <0x4084aa60 + 0x00093> in <filename unknown>:0
[nunit2] at log4net.Util.SystemStringFormat.StringFormat (IFormatProvider provider, System.String format, System.Object[] args) <0x40960790 + 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.2 seconds.
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
$ docker stop --time=1 bc10801d19fd6560a2554be8caa35460b22812c65f64c87d2e965919c1646648
$ docker rm -f bc10801d19fd6560a2554be8caa35460b22812c65f64c87d2e965919c1646648
[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 "dev@logging.apache.org"
---> 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
---> Using cache
---> ce017ec1e886
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
---> Using cache
---> 9d0846b5aefa
Step 6/7 : COPY entrypoint.sh /usr/local/bin/entrypoint.sh
---> Using cache
---> 76d841be4f40
Step 7/7 : ENTRYPOINT /usr/local/bin/entrypoint.sh
---> Using cache
---> baa9b6e6513a
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] 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 d4ff3ec4562e1373d88d1977481daf192b7a52b3 (feature/cd-pipeline)
> git config core.sparsecheckout # timeout=10
> git checkout -f d4ff3ec4562e1373d88d1977481daf192b7a52b3
[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: 2.7 seconds.
[Pipeline] }
$ docker stop --time=1 41f142859c54fe64862c90651ed140144579bcbae36bd5351a287df29491763b
$ docker rm -f 41f142859c54fe64862c90651ed140144579bcbae36bd5351a287df29491763b
[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