See <https://builds.apache.org/job/log4net-trunk-tests/108/display/redirect?page=changes>
Changes: [dpsenner] Jenkinsfile: run mono-2.0 tests and record test results [dpsenner] Jenkinsfile: fixed typo [dpsenner] Jenkinsfile: record git log -1 into the package [dpsenner] Tests: download and unzip nunit into a temporary local path instead of [dpsenner] Jenkinsfile: send mails to commits@ instead of dev@ [dpsenner] Jenkinsfile: run tests also for the targets mono-3.5 and mono-4.0 [dpsenner] Jenkinsfile: clear workspace when building on docker containers [dpsenner] Jenkinsfile: rm -rf instead of removeDir() because of JENKINS-41894 [dpsenner] Jenkinsfile: attempt rm -rf bin/ tests/ instead of rm -rf ./ [dpsenner] Build: netstandard now fails if the command is not available and only [dpsenner] Jenkinsfile: set user and home variable into docker [dpsenner] Jenkinsfile: added args to the builder-netstandard instead of [dpsenner] build-netstandard: added --no-cache argument [dpsenner] Revert "build-netstandard: added --no-cache argument" [dpsenner] Jenkinsfile: alternative approach to set the HOME variable [dpsenner] Jenkinsfile: export instead of set [dpsenner] log4net.build: moved compile-netstandard target to the other compile [dpsenner] log4net.build: specify solution file when building net-standard [dpsenner] Jenkinsfile: export PACKAGEHOME variable [dpsenner] Jenkinsfile: escape export of packagehome [dpsenner] Moved Nuget.Config to repository root location, may that help [dpsenner] Renamed Nuget.Config -> NuGet.Config [dpsenner] Moved NuGet.Config and added --configfile to tasks [dpsenner] Jenkinsfile: mark build as unstable when there is a test marked as [dpsenner] Moved --configfile option to the end of the arguments [dpsenner] Removed --configfile from build command [dpsenner] Added a few echo commands to actually see what's going on [dpsenner] compile-netstandard: debug and release are now lowercase like all other [dpsenner] Fixed echo syntax [dpsenner] Fixed typo [dpsenner] Moved --configfile switch before the solution file [dpsenner] log4net.build: reordered dotnet restore arguments once more [dpsenner] This is yet another try to get build netstandard [dpsenner] Jenkinsfile: use custom workspace [dpsenner] Jenkinsfile: get more info [dpsenner] Jenkinsfile: dump more information [dpsenner] Jenkinsfile: attempt to run useradd to have a user that dotnet can [dpsenner] Jenkinsfile: fixed missing char [dpsenner] Jenkinsfile: retry [dpsenner] Jenkinsfile: actually run useradd [dpsenner] Jenkinsfile: uid -> id [dpsenner] Jenkinsfile: set up builder-netstandard to have a user named jenkins [dpsenner] Jenkins: also create a group with the given group id [dpsenner] builder-netstandard: attempt to create jenkins user in docker [dpsenner] builder-netstandard: attempt to set up user jenkins [dpsenner] builder-netstandard: attempt to set up jenkins user [dpsenner] builder-netstandard: force add of group [dpsenner] builder-netstandard: add jenkins:jenkins-slave [dpsenner] Jenkinsfile: try to compile net-standard [dpsenner] Jenkinsfile: attempt to set home to the workspace [dpsenner] builder-netstandard: no need to -f addgroup [dpsenner] builer-netstandard: cleaned up dockerfile [dpsenner] Jenkinsfile: try to update home so that dotnet picks it up [dpsenner] builder-netstandard: try to update $HOME of jenkins when docker starts [dpsenner] Jenkinsfile: added echo of the user env variable [dpsenner] Jenkinsfile: fixed escape chars [dpsenner] builder-netstandard: added entrypoint.sh script [dpsenner] builder-netstandard: set home directory to something deeper in the [dpsenner] Jenkinsfile: attempt to usermod jenkins in the stage [dpsenner] builder-netstandard: attempt to change the user home directory in the [dpsenner] Jenkinsfile: moved build-netstandard stage to the front [dpsenner] builder-netstandard: attempt to use customWorkspace [dpsenner] builder-netstandard: put customWorkspace inside dockerfile [dpsenner] builder-netstandard: put customworkspace in agent section [dpsenner] builder-netstandard: added node section to allow customWorkspace [dpsenner] builder-netstandard: added label node to node [dpsenner] builder-netstandard: added workspace to custom workspace [dpsenner] builder-netstandard: moved customWorkspace to the node around stage [dpsenner] builder-netstandard: ... [dpsenner] builder-netstandard: attempting to set a completely custom workspace [dpsenner] builder-netstandard: yet another try [dpsenner] builder-netstandard: create home for user jenkins [dpsenner] builder-netstandard: reuseNode must be set [dpsenner] builder-netstandard: adduser -> useradd [dpsenner] builder-netstandard: it builds! [dpsenner] builder-netstandard: attempt to run the tests [dpsenner] Revert "builder-netstandard: attempt to run the tests" ------------------------------------------ Started by upstream project "log4net-trunk-build" build number 238 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on windows-2012-2 (Windows) in workspace <https://builds.apache.org/job/log4net-trunk-tests/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/logging-log4net.git # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/logging-log4net.git > git --version # timeout=10 > git fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/logging-log4net.git > +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/abandoned/log4net-1.3.x Seen branch in repository origin/develop Seen branch in repository origin/feature/Build-mono-on-ubuntu Seen branch in repository origin/feature/RollingFileAppender-NG Seen branch in repository origin/feature/build-multibranch Seen branch in repository origin/feature/cd-pipeline Seen branch in repository origin/master Seen branch in repository origin/pr/old/10 Seen branch in repository origin/pr/old/22 Seen branch in repository origin/pr/old/28 Seen branch in repository origin/pr/old/29 Seen branch in repository origin/pr/old/32 Seen branch in repository origin/pr/old/40 Seen branch in repository origin/pr/old/43 Seen branch in repository origin/pr/old/45 Seen branch in repository origin/pr/old/7 Seen branch in repository origin/pr/old/9 Seen 17 remote branches > git tag -l # timeout=10 > git rev-parse "refs/tags/rc/1.2.14-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.14-RC2^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/2.0.8-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.13^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/2.0.6-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.12^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.15^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.14^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.9^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.11-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.13-RC3^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/2.0.7-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.13-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.13-RC2^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/2.0.8^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.15-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/1.2.13RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.11^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.12-RC1^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/1.2.10^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/2.0.7^{commit}" # timeout=10 > git rev-parse "refs/tags/rel/2.0.6^{commit}" # timeout=10 > git rev-parse "refs/tags/rc/1.2.10-RC2^{commit}" # timeout=10 Checking out Revision 1beaeae04564e9451d7b30545443084dc02b15fb (origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 1beaeae04564e9451d7b30545443084dc02b15fb > git rev-list bb55b40c6e386e68b7c401ddc884f1955dfdb228 # timeout=10 Executing command: cmd.exe /C "F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe -buildfile:log4net.build compile-net-4.0 && exit %%ERRORLEVEL%%" [log4net-trunk-tests] $ cmd.exe /C "F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe -buildfile:log4net.build compile-net-4.0 && exit %%ERRORLEVEL%%" NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012) Copyright (C) 2001-2012 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///f:/jenkins/jenkins-slave/workspace/log4net-trunk-tests/log4net.build Target framework: Microsoft .NET Framework 4.0 Target(s) specified: compile-net-4.0 check-current-build-config: set-build-configuration: set-debug-build-configuration: check-current-build-config: set-build-configuration-flags: compile-net-4.0: set-debug-build-configuration: check-current-build-config: set-build-configuration-flags: compile-net-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-net-4.0-runtime-configuration: check-log4net-basedir: check-current-bin-dir: clean-current-bin-dir: [echo] Cleaning the bin/net/4.0/debug binaries directory. [delete] Deleting directory '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug'.> [mkdir] Creating directory '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug'.> [csc] Compiling 226 files to '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\debug\log4net.dll'.> set-release-build-configuration: check-current-build-config: set-build-configuration-flags: compile-net-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-net-4.0-runtime-configuration: check-log4net-basedir: check-current-bin-dir: clean-current-bin-dir: [echo] Cleaning the bin/net/4.0/release binaries directory. [delete] Deleting directory '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\release'.> [mkdir] Creating directory '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\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 '<https://builds.apache.org/job/log4net-trunk-tests/ws/bin\net\4.0\release\log4net.dll'.> BUILD SUCCEEDED Total time: 2.7 seconds. Executing command: cmd.exe /C "F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe -buildfile:tests/nant.build && exit %%ERRORLEVEL%%" [log4net-trunk-tests] $ cmd.exe /C "F:\jenkins\tools\nant\nant-0.92\bin\NAnt.exe -buildfile:tests/nant.build && exit %%ERRORLEVEL%%" NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012) Copyright (C) 2001-2012 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///f:/jenkins/jenkins-slave/workspace/log4net-trunk-tests/tests/nant.build Target framework: Microsoft .NET Framework 4.0 Target(s) specified: runtests check-current-build-config: set-build-configuration: set-debug-build-configuration: check-current-build-config: set-build-configuration-flags: install-nunit: [get] Retrieving 'https://github.com/nunit/nunitv2/releases/download/2.6.4/NUnit-2.6.4.zip' to '<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\.tmp-nunit.zip'.> [unzip] Unzipping '<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\.tmp-nunit.zip'> to '<https://builds.apache.org/job/log4net-trunk-tests/ws/tests\.tmp-nunit'.> BUILD FAILED <https://builds.apache.org/job/log4net-trunk-tests/ws/tests\nant.build(33,3)>: Property evaluation failed. Expression: lib/${current.build.configuration.dir} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Property 'current.build.configuration.dir' has not been set. Total time: 4.2 seconds. Build step 'Execute NAnt build' marked build as failure
