Hi Robert,

The Jenkins config was wrong. Your Jenkins instance runs with Java 7, so by 
default it starts jobs also with Java 7. You only configured JAVA_HOME as a 
sysprop for ANT, so it got passed with -DJAVA_HOME.

The right config is to define available Java installations via the Admin UI and 
select the right one (not "Default") in the job config. After that, Jenkins 
sets JAVA_HOME to the right one before launching ANT.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]


> -----Original Message-----
> From: Robert Muir [mailto:[email protected]]
> Sent: Wednesday, November 13, 2013 7:00 PM
> To: [email protected]
> Subject: Re: Build failed in Jenkins: lucene-solr-46-smoker #5
> 
> This looks like a real bug in the build?
> 
> Ive got JAVA_HOME set to a 1.6 compiler...
> 
> On Wed, Nov 13, 2013 at 12:56 PM, Charlie Cron
> <[email protected]> wrote:
> > See <http://sierranevada.servebeer.com/job/lucene-solr-46-smoker/5/>
> >
> > ------------------------------------------
> > [...truncated 52012 lines...]
> > jar-grouping:
> >
> > check-queries-uptodate:
> >
> > jar-queries:
> >
> > check-queryparser-uptodate:
> >
> > jar-queryparser:
> >
> > check-join-uptodate:
> >
> > jar-join:
> >
> > prep-lucene-jars:
> >
> > resolve-example:
> >
> > ivy-availability-check:
> >      [echo] Building solr-solrj...
> >
> > ivy-fail:
> >
> > ivy-configure:
> > [ivy:configure] :: loading settings :: file =
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/lucene
> > /ivy-settings.xml>
> >
> > resolve:
> >
> > common.init:
> >
> > compile-lucene-core:
> >
> > init:
> >
> > -clover.disable:
> >
> > -clover.load:
> >
> > -clover.classpath:
> >
> > -clover.setup:
> >
> > clover:
> >
> > common.compile-core:
> >
> > compile-core:
> >
> > resolve-groovy:
> >
> > define-lucene-javadoc-url:
> >
> > javadocs:
> >      [echo] Building solr-solrj...
> >
> > download-java6-javadoc-packagelist:
> >    [delete] Deleting: <http://sierranevada.servebeer.com/job/lucene-solr-
> 46-smoker/ws/solr/build/docs/solr-solrj/stylesheet.css>
> >   [javadoc] Generating Javadoc
> >   [javadoc] Javadoc execution
> >   [javadoc] Loading source files for package org.apache.solr.client.solrj...
> >   [javadoc] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
> >   [javadoc] Loading source files for package
> org.apache.solr.client.solrj.beans...
> >   [javadoc] Loading source files for package
> org.apache.solr.client.solrj.impl...
> >   [javadoc] Loading source files for package
> org.apache.solr.client.solrj.request...
> >   [javadoc] Loading source files for package
> org.apache.solr.client.solrj.response...
> >   [javadoc] Loading source files for package 
> > org.apache.solr.client.solrj.util...
> >   [javadoc] Loading source files for package org.apache.solr.common...
> >   [javadoc] Loading source files for package
> org.apache.solr.common.cloud...
> >   [javadoc] Loading source files for package org.apache.solr.common.luke...
> >   [javadoc] Loading source files for package
> org.apache.solr.common.params...
> >   [javadoc] Loading source files for package org.apache.solr.common.util...
> >   [javadoc] Constructing Javadoc information...
> >   [javadoc] Standard Doclet version 1.7.0_25
> >   [javadoc] Building tree for all the packages and classes...
> >   [javadoc] Building index for all the packages and classes...
> >   [javadoc] Building index for all classes...
> >   [javadoc] Generating <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/solr/build/docs/solr-solrj/help-doc.html...>
> >   [javadoc] Note: Custom tags that were not seen:  @lucene.internal
> >   [javadoc] 1 warning
> > [patch-javadoc] Replaced 0 occurrences in 0 files.
> >       [jar] Building jar:
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/solr-solrj/solr-solrj-4.6.0-javadoc.jar>
> >
> > javadocs:
> >      [echo] Building solr-core...
> >
> > download-java6-javadoc-packagelist:
> >    [delete] Deleting: <http://sierranevada.servebeer.com/job/lucene-solr-
> 46-smoker/ws/solr/build/docs/solr-core/stylesheet.css>
> >   [javadoc] Generating Javadoc
> >   [javadoc] Javadoc execution
> >   [javadoc] Loading source files for package org.apache.solr...
> >   [javadoc] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
> >   [javadoc] Loading source files for package org.apache.solr.analysis...
> >   [javadoc] Loading source files for package
> org.apache.solr.client.solrj.embedded...
> >   [javadoc] Loading source files for package org.apache.solr.cloud...
> >   [javadoc] Loading source files for package org.apache.solr.common...
> >   [javadoc] Loading source files for package org.apache.solr.core...
> >   [javadoc] Loading source files for package org.apache.solr.handler...
> >   [javadoc] Loading source files for package
> org.apache.solr.handler.admin...
> >   [javadoc] Loading source files for package
> org.apache.solr.handler.component...
> >   [javadoc] Loading source files for package
> org.apache.solr.handler.loader...
> >   [javadoc] Loading source files for package org.apache.solr.highlight...
> >   [javadoc] Loading source files for package org.apache.solr.internal.csv...
> >   [javadoc] Loading source files for package
> org.apache.solr.internal.csv.writer...
> >   [javadoc] Loading source files for package org.apache.solr.logging...
> >   [javadoc] Loading source files for package org.apache.solr.logging.jul...
> >   [javadoc] Loading source files for package 
> > org.apache.solr.logging.log4j...
> >   [javadoc] Loading source files for package org.apache.solr.parser...
> >   [javadoc] Loading source files for package org.apache.solr.request...
> >   [javadoc] Loading source files for package org.apache.solr.response...
> >   [javadoc] Loading source files for package
> org.apache.solr.response.transform...
> >   [javadoc] Loading source files for package org.apache.solr.rest...
> >   [javadoc] Loading source files for package org.apache.solr.rest.schema...
> >   [javadoc] Loading source files for package org.apache.solr.schema...
> >   [javadoc] Loading source files for package org.apache.solr.search...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.function...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.function.distance...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.collector...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.distributed...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.distributed.command...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.distributed.requestfactory...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.distributed.responseprocessor...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.distributed.shardresultserializer...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.grouping.endresulttransformer...
> >   [javadoc] Loading source files for package org.apache.solr.search.join...
> >   [javadoc] Loading source files for package
> org.apache.solr.search.similarities...
> >   [javadoc] Loading source files for package org.apache.solr.servlet...
> >   [javadoc] Loading source files for package 
> > org.apache.solr.servlet.cache...
> >   [javadoc] Loading source files for package org.apache.solr.spelling...
> >   [javadoc] Loading source files for package
> org.apache.solr.spelling.suggest...
> >   [javadoc] Loading source files for package
> org.apache.solr.spelling.suggest.fst...
> >   [javadoc] Loading source files for package
> org.apache.solr.spelling.suggest.jaspell...
> >   [javadoc] Loading source files for package
> org.apache.solr.spelling.suggest.tst...
> >   [javadoc] Loading source files for package
> org.apache.solr.store.blockcache...
> >   [javadoc] Loading source files for package org.apache.solr.store.hdfs...
> >   [javadoc] Loading source files for package org.apache.solr.update...
> >   [javadoc] Loading source files for package
> org.apache.solr.update.processor...
> >   [javadoc] Loading source files for package org.apache.solr.util...
> >   [javadoc] Loading source files for package org.apache.solr.util.plugin...
> >   [javadoc] Loading source files for package org.apache.solr.util.stats...
> >   [javadoc] Loading source files for package org.apache.solr.util.xslt...
> >   [javadoc] Constructing Javadoc information...
> >   [javadoc] Standard Doclet version 1.7.0_25
> >   [javadoc] Building tree for all the packages and classes...
> >   [javadoc] Generating <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/solr/build/docs/solr-core/org/apache/solr/util/package-
> summary.html...>
> >   [javadoc] Copying file <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/solr/core/src/java/org/apache/solr/util/doc-files/min-
> should-match.html> to directory
> <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/build/docs/solr-core/org/apache/solr/util/doc-files...>
> >   [javadoc] Building index for all the packages and classes...
> >   [javadoc] Building index for all classes...
> >   [javadoc] Generating <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/solr/build/docs/solr-core/help-doc.html...>
> >   [javadoc] 1 warning
> > [patch-javadoc] Replaced 0 occurrences in 0 files.
> >       [jar] Building jar:
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/solr-core/solr-core-4.6.0-javadoc.jar>
> >
> > javadocs:
> >      [echo] Building solr-velocity...
> >
> > download-java6-javadoc-packagelist:
> >    [delete] Deleting: <http://sierranevada.servebeer.com/job/lucene-solr-
> 46-smoker/ws/solr/build/docs/solr-velocity/stylesheet.css>
> >   [javadoc] Generating Javadoc
> >   [javadoc] Javadoc execution
> >   [javadoc] Loading source files for package org.apache.solr.response...
> >   [javadoc] warning: [options] bootstrap class path not set in conjunction
> with -source 1.6
> >   [javadoc] Constructing Javadoc information...
> >   [javadoc] Standard Doclet version 1.7.0_25
> >   [javadoc] Building tree for all the packages and classes...
> >   [javadoc] Building index for all the packages and classes...
> >   [javadoc] Building index for all classes...
> >   [javadoc] Generating <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/solr/build/docs/solr-velocity/help-doc.html...>
> >   [javadoc] Note: Custom tags that were not seen:  @lucene.internal,
> @lucene.experimental
> >   [javadoc] 1 warning
> > [patch-javadoc] Replaced 0 occurrences in 0 files.
> >       [jar] Building jar:
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/contrib/solr-velocity/solr-velocity-4.6.0-javadoc.jar>
> >
> > dist-maven-common:
> > [artifact:install-provider] Installing provider:
> > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7:runtime
> > [artifact:install] [INFO] Installing
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/solr.tgz.unpacked/solr-4.6.0/dist/solr-velocity-4.6.0.jar> to
> > /home/rmuir/.m2/repository/org/apache/solr/solr-velocity/4.6.0/solr-ve
> > locity-4.6.0.jar [artifact:install] [INFO] Installing
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/contrib/solr-velocity/solr-velocity-4.6.0-src.jar> to
> > /home/rmuir/.m2/repository/org/apache/solr/solr-velocity/4.6.0/solr-ve
> > locity-4.6.0-sources.jar [artifact:install] [INFO] Installing
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/b
> > uild/contrib/solr-velocity/solr-velocity-4.6.0-javadoc.jar> to
> > /home/rmuir/.m2/repository/org/apache/solr/solr-velocity/4.6.0/solr-ve
> > locity-4.6.0-javadoc.jar [artifact:deploy] Deploying to
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Uploading:
> > org/apache/solr/solr-velocity/4.6.0/solr-velocity-4.6.0.jar to
> > repository local at
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Transferring 20K from local
> > [artifact:deploy] Uploaded 20K [artifact:deploy] [INFO] Retrieving
> > previous metadata from local [artifact:deploy] [INFO] repository
> > metadata for: 'artifact org.apache.solr:solr-velocity' could not be
> > found on repository: local, so will be created [artifact:deploy] [INFO]
> Uploading repository metadata for: 'artifact org.apache.solr:solr-velocity'
> > [artifact:deploy] [INFO] Uploading project information for
> > solr-velocity 4.6.0 [artifact:deploy] Uploading:
> > org/apache/solr/solr-velocity/4.6.0/solr-velocity-4.6.0-sources.jar to
> > repository local at
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Transferring 20K from local
> > [artifact:deploy] Uploaded 20K [artifact:deploy] Uploading:
> > org/apache/solr/solr-velocity/4.6.0/solr-velocity-4.6.0-javadoc.jar to
> > repository local at
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Transferring 70K from local
> > [artifact:deploy] Uploaded 70K [artifact:deploy] Uploading:
> > org/apache/solr/solr-velocity/4.6.0/solr-velocity-4.6.0-sources.jar to
> > repository local at
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Transferring 20K from local
> > [artifact:deploy] Uploaded 20K [artifact:deploy] Uploading:
> > org/apache/solr/solr-velocity/4.6.0/solr-velocity-4.6.0-javadoc.jar to
> > repository local at
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/solr/p
> > ackage/maven/> [artifact:deploy] Transferring 70K from local
> > [artifact:deploy] Uploaded 70K
> >
> > dist-maven:
> >
> > prepare-release-no-sign:
> >     [mkdir] Created dir: <http://sierranevada.servebeer.com/job/lucene-
> solr-46-smoker/ws/lucene/build/fakeRelease>
> >      [copy] Copying 431 files to
> <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/lucene/build/fakeRelease/lucene>
> >      [copy] Copying 194 files to
> <http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/lucene/build/fakeRelease/solr>
> >      [exec] JAVA6_HOME is /usr/local/jdk1.6.0_37
> >      [exec] JAVA7_HOME is /usr/local/jdk1.7.0_25
> >      [exec] NOTE: output encoding is UTF-8
> >      [exec]
> >      [exec] Load release URL
> "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/lucene/build/fakeRelease/"...>
> >      [exec]
> >      [exec] Test Lucene...
> >      [exec]   test basics...
> >      [exec]   get KEYS
> >      [exec]     0.1 MB in 0.01 sec (11.2 MB/sec)
> >      [exec]   check changes HTML...
> >      [exec]   download lucene-4.6.0-src.tgz...
> >      [exec]     27.2 MB in 0.02 sec (1453.9 MB/sec)
> >      [exec]     verify md5/sha1 digests
> >      [exec]   download lucene-4.6.0.tgz...
> >      [exec]     50.1 MB in 0.03 sec (1466.5 MB/sec)
> >      [exec]     verify md5/sha1 digests
> >      [exec]   download lucene-4.6.0.zip...
> >      [exec]     59.9 MB in 0.04 sec (1478.9 MB/sec)
> >      [exec]     verify md5/sha1 digests
> >      [exec]   unpack lucene-4.6.0.tgz...
> >      [exec] Traceback (most recent call last):
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 1377, in
> <module>
> >      [exec]     main()
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 1321, in main
> >      [exec]     smokeTest(baseURL, svnRevision, version, tmpDir, isSigned,
> testArgs)
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 1358, in
> smokeTest
> >      [exec]     unpackAndVerify('lucene', tmpDir, artifact, svnRevision,
> version, testArgs, baseURL)
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 635, in
> unpackAndVerify
> >      [exec]     verifyUnpacked(project, artifact, unpackPath, svnRevision,
> version, testArgs, tmpDir, baseURL)
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 781, in
> verifyUnpacked
> >      [exec]     checkAllJARs(os.getcwd(), project, svnRevision, version,
> tmpDir, baseURL)
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 287, in
> checkAllJARs
> >      [exec]     checkJARMetaData('JAR file "%s"' % fullPath, fullPath,
> svnRevision, version)
> >      [exec]   File "<http://sierranevada.servebeer.com/job/lucene-solr-46-
> smoker/ws/dev-tools/scripts/smokeTestRelease.py",> line 215, in
> checkJARMetaData
> >      [exec]     (desc, verify))
> >      [exec] RuntimeError: JAR file "/home/rmuir/    verify JAR
> metadata/identity/no javax.* or java.* classes...
> >      [exec]
> > .jenkins/workspace/lucene-solr-46-
> smoker/lucene/build/fakeReleaseTmp/u
> > npack/lucene-4.6.0/queryparser/lucene-queryparser-4.6.0.jar" is
> > missing "Created-By: 1.6" inside its META-INF/MANIFEST.MF
> >
> > BUILD FAILED
> > <http://sierranevada.servebeer.com/job/lucene-solr-46-smoker/ws/build.
> > xml>:347: exec returned: 1
> >
> > Total time: 10 minutes 29 seconds
> > Build step 'Invoke Ant' marked build as failure
> >
> > ---------------------------------------------------------------------
> > 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to