See
<https://builds.apache.org/job/logging-log4net/job/feature%252Fcd-pipeline/91/display/redirect>
------------------------------------------
[...truncated 122.80 KB...]
set-build-configuration-flags:
compile-mono-4.0-current-configuration:
check-bin-dir:
check-doc-dir:
check-sdkdoc-dir:
check-sdkdoc-debug:
check-current-build-config:
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/bin/mono/4.0/release'.
clean-current-bin-dir:
[echo] Cleaning the bin/mono/4.0/release binaries directory.
[delete] Deleting directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/bin/mono/4.0/release'.
[mkdir] Creating directory
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/bin/mono/4.0/release'.
[echo] Old key file not found.
[echo] The release build using the old key will be skipped.
[csc] Compiling 226 files to
'/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/bin/mono/4.0/release/log4net.dll'.
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Appender/EventLogAppender.cs(360,13):
warning CS0618: `System.Diagnostics.EventLog.CreateEventSource(string, string,
string)' is obsolete: `use CreateEventSource(EventSourceCreationData) instead'
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Config/XmlConfigurator.cs(134,64):
warning CS0618: `System.Configuration.ConfigurationSettings.GetConfig(string)'
is obsolete: `This method is obsolete, it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.GetSection'
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Config/XmlConfigurator.cs(748,6):
warning CS0618: `System.Xml.XmlValidatingReader' is obsolete: `Use XmlReader
created by XmlReader.Create() method using appropriate XmlReaderSettings
instead.'
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Config/XmlConfigurator.cs(748,42):
warning CS0618: `System.Xml.XmlValidatingReader' is obsolete: `Use XmlReader
created by XmlReader.Create() method using appropriate XmlReaderSettings
instead.'
[csc]
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA/src/Util/TypeConverters/IPAddressConverter.cs(122,29):
warning CS0618: `System.Net.Dns.GetHostByName(string)' is obsolete: `Use
GetHostEntry instead'
[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.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) <0x40510c20 + 0x009cb> in
<filename unknown>:0
[nunit2] at System.String.Format (IFormatProvider provider, System.String
format, System.Object[] args) <0x40510a60 + 0x00093> in <filename unknown>:0
[nunit2] at log4net.Util.SystemStringFormat.StringFormat (IFormatProvider
provider, System.String format, System.Object[] args) <0x40626a80 + 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.4 seconds.
Stashed 1 file(s)
[Pipeline] stash
[Pipeline] }
$ docker stop --time=1
86a8a23eae6fea1ad4eccbaa62a3e043f9c74c169a81f97eb136c3b6c2d6ff13
$ docker rm -f 86a8a23eae6fea1ad4eccbaa62a3e043f9c74c169a81f97eb136c3b6c2d6ff13
[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
---> 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] sh
[log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA]
Running shell script
++ pwd
++ uid -u
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA@tmp/durable-b860ea24/script.sh:
line 2: uid: command not found
++ uid -g
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA@tmp/durable-b860ea24/script.sh:
line 2: uid: command not found
++ uid -g
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA@tmp/durable-b860ea24/script.sh:
line 2: uid: command not found
+ useradd --home-dir
/home/jenkins/jenkins-slave/workspace/log4net_feature_cd-pipeline-76KUCPODUF6LCE45226EBUR4GNVLYPMYVC23Z4ITBOMNJT3CA2WA
--shell /bin/bash --uid --gid --groups -p -M jenkins
useradd: invalid user ID '--gid'
[Pipeline] }
$ docker stop --time=1
4b95e9741745ba51cd6fbf7b600d48228c80486c64a69f69e16419675a46fe03
$ docker rm -f 4b95e9741745ba51cd6fbf7b600d48228c80486c64a69f69e16419675a46fe03
[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