I don’t understand what happened here - this is the section of common-build.xml
where the error is printed, when the output from svnversion includes one of the
sequences ‘exported’ or ‘unversioned’:
——
<macrodef name="get-svn-info"
description="Populates properties svn.URL and svn.Revision using 'svn
info'.">
<attribute name="directory"/>
<sequential>
<exec dir="@{directory}" executable="${svnversion.exe}"
outputproperty="svn.ver"/>
<fail message="A subversion checkout is required for this target">
<condition>
<matches pattern="(exported|unversioned.*)" string="${svn.ver}"
casesensitive="false"/>
</condition>
</fail>
——
The error happens when <svn-export-source> is called for the Lucene source dir
from lucene/build.xml:
——
<target name="package-tgz-src" depends="init-dist"
description="--> Generates the Lucene source distribution from 'svn
export' as .tgz">
<property name="source.package.file"
value="${dist.dir}/lucene-${version}-src.tgz"/>
<delete file="${source.package.file}"/>
<svn-export-source source.dir=".”/>
——
Only thing I can think of is that somehow the current directory used by
<svn-export-source source.dir=“.”> isn’t set properly because of how Jenkins
invokes Ant? But this should be a problem for every other Jenkins job running
‘ant nightly-smoke’...
I got past this point when I ran ‘ant -DsmokeTestRelease.java8=$JAVA8_HOME
nightly-smoke’ on my laptop (same cmdline used by Jenkins), but my Ant is too
new (1.9 vs 1.8), so it failed, later in the process (when checking jar
metadata for correct Ant version).
Uwe, do you have any ideas?
> On Dec 31, 2015, at 9:54 AM, Apache Jenkins Server
> <[email protected]> wrote:
>
> Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-5.3/1/
>
> No tests ran.
>
> Build Log:
> [...truncated 17960 lines...]
> BUILD FAILED
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.3/build.xml:461:
> The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.3/lucene/build.xml:344:
> The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.3/lucene/common-build.xml:2270:
> The following error occurred while executing this line:
> /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.3/lucene/common-build.xml:2288:
> A subversion checkout is required for this target
>
> Total time: 4 minutes 10 seconds
> Build step 'Invoke Ant' marked build as failure
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
> Setting
> LATEST1_8_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8
> Setting
> LATEST1_8_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]