You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2012/09/06 17:02:13 UTC

[JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-4.x/26/

All tests passed

Build Log:
[...truncated 6701 lines...]
    [javac] Compiling 476 source files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/build/solr-core/classes/java
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:42: cannot find symbol
    [javac] symbol  : static DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac] import static com.spatial4j.core.distance.DistanceUtils.DEGREES_TO_RADIANS;
    [javac] ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:402: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]         return vals.doubleVal(doc) * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                                   ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:408: cannot find symbol
    [javac] symbol  : variable RADIANS_TO_DEGREES
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]         return vals.doubleVal(doc) * DistanceUtils.RADIANS_TO_DEGREES;
    [javac]                                                   ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/GeoHashField.java:51: cannot find symbol
    [javac] symbol  : variable GEO
    [javac] location: class com.spatial4j.core.context.SpatialContext
    [javac]   private final SpatialContext ctx = SpatialContext.GEO;
    [javac]                                                    ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:148: cannot find symbol
    [javac] symbol  : variable GEO
    [javac] location: class com.spatial4j.core.context.SpatialContext
    [javac]     Rectangle bbox = DistanceUtils.calcBoxByDistFromPtDEG(latCenter, lonCenter, distDeg, SpatialContext.GEO, null);
    [javac]                                                                                                        ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:400: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       this.latCenterRad = SpatialDistanceQuery.this.latCenter * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                                                              ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:401: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       this.lonCenterRad = SpatialDistanceQuery.this.lonCenter * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                                                              ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:430: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       double latRad = lat * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                          ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:431: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       double lonRad = lon * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                          ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHaversineFunction.java:54: cannot find symbol
    [javac] symbol  : method degrees2Dist(int,double)
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]     this.degreesToDist = DistanceUtils.degrees2Dist(1, radius);
    [javac]                                       ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHaversineFunction.java:55: cannot find symbol
    [javac] symbol  : variable GEO
    [javac] location: class com.spatial4j.core.context.SpatialContext
    [javac]     this.ctx = SpatialContext.GEO;
    [javac]                              ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:194: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
    [javac]     this.latCenterRad_cos = Math.cos(latCenter * DEGREES_TO_RADIANS);
    [javac]                                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:205: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
    [javac]     final double latCenterRad = this.latCenter * DEGREES_TO_RADIANS;
    [javac]                                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:206: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
    [javac]     final double lonCenterRad = this.lonCenter * DEGREES_TO_RADIANS;
    [javac]                                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:212: cannot find symbol
    [javac] symbol: variable DEGREES_TO_RADIANS
    [javac]         double latRad = latVals.doubleVal(doc) * DEGREES_TO_RADIANS;
    [javac]                                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:213: cannot find symbol
    [javac] symbol: variable DEGREES_TO_RADIANS
    [javac]         double lonRad = lonVals.doubleVal(doc) * DEGREES_TO_RADIANS;
    [javac]                                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:84: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       y1 = p1D[0] * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:85: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       x1 = p1D[1] * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:86: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       y2 = p2D[0] * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                  ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:87: cannot find symbol
    [javac] symbol  : variable DEGREES_TO_RADIANS
    [javac] location: class com.spatial4j.core.distance.DistanceUtils
    [javac]       x2 = p2D[1] * DistanceUtils.DEGREES_TO_RADIANS;
    [javac]                                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 20 errors

BUILD FAILED
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/build.xml:29: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/build.xml:146: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/module-build.xml:63: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/common-build.xml:359: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/common-build.xml:310: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:412: The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:1433: Compile failed; see the compiler error output for details.

Total time: 56 minutes 36 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Robert Muir <rc...@gmail.com>.
On Thu, Sep 6, 2012 at 1:32 PM, Uwe Schindler <uw...@thetaphi.de> wrote:
> This job was the only one with wrong SVN checkout option. I went through all jobs and corrected this one.
>

Thanks Uwe: I still think its important to fix this solr/lib stuff so
that it doesnt happen locally for developers, and so that we avoid
packaging bugs or wrong dependencies for solrj.

Ill try to take a look at splitting these (unless someone beats me to
it, or has strong opinions on how this should be).

-- 
lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


RE: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Uwe Schindler <uw...@thetaphi.de>.
This job was the only one with wrong SVN checkout option. I went through all jobs and corrected this one.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Robert Muir [mailto:rcmuir@gmail.com]
> Sent: Thursday, September 06, 2012 5:15 PM
> To: dev@lucene.apache.org
> Subject: Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure
> 
> I think this jenkins job has the wrong clean option? its just svn-upping but not
> nuking svn-ignored stuff like the other jenkins jobs.
> 
> the real problem is the solr/lib which is "shared" by solr and solrj:
> https://issues.apache.org/jira/browse/SOLR-3686
> 
> This means that these tests have a bogus classpath (e.g. every so often
> someone accidentally makes solrj depend on lucene or something like that,
> nothing fails).
> 
> This also means we must disable ivy's sync=true in solr/core and
> solr/solrj: which means solr developers have to put up with "clean-jars hell"
> whenever anyone updates a jar.
> no other part of the build has this problem: when jars are resolved anything
> thats not supposed to be there is automatically deleted.
> 
>   <!-- we cannot sync because solr/core and solr/solrj share the same lib/...
> clean this up! -->
>   <property name="ivy.sync" value="false"/>
> 
> 
> On Thu, Sep 6, 2012 at 11:02 AM, Apache Jenkins Server
> <je...@builds.apache.org> wrote:
> > Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-4.x/26/
> >
> > All tests passed
> >
> > Build Log:
> > [...truncated 6701 lines...]
> >     [javac] Compiling 476 source files to /usr/home/hudson/hudson-
> slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/build/solr-core/classes/java
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:42: cannot find symbol
> >     [javac] symbol  : static DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac] import static
> com.spatial4j.core.distance.DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac] ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:402:
> cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]         return vals.doubleVal(doc) *
> DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                                   ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:408:
> cannot find symbol
> >     [javac] symbol  : variable RADIANS_TO_DEGREES
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]         return vals.doubleVal(doc) *
> DistanceUtils.RADIANS_TO_DEGREES;
> >     [javac]                                                   ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/GeoHashField.java:51: cannot
> find symbol
> >     [javac] symbol  : variable GEO
> >     [javac] location: class com.spatial4j.core.context.SpatialContext
> >     [javac]   private final SpatialContext ctx = SpatialContext.GEO;
> >     [javac]                                                    ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:148: cannot
> find symbol
> >     [javac] symbol  : variable GEO
> >     [javac] location: class com.spatial4j.core.context.SpatialContext
> >     [javac]     Rectangle bbox =
> DistanceUtils.calcBoxByDistFromPtDEG(latCenter, lonCenter, distDeg,
> SpatialContext.GEO, null);
> >     [javac]                                                                                                        ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:400: cannot
> find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       this.latCenterRad = SpatialDistanceQuery.this.latCenter *
> DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                                                              ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:401: cannot
> find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       this.lonCenterRad = SpatialDistanceQuery.this.lonCenter *
> DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                                                              ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:430: cannot
> find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       double latRad = lat * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                          ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:431: cannot
> find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       double lonRad = lon * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                          ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHave
> rsineFunction.java:54: cannot find symbol
> >     [javac] symbol  : method degrees2Dist(int,double)
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]     this.degreesToDist = DistanceUtils.degrees2Dist(1, radius);
> >     [javac]                                       ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHave
> rsineFunction.java:55: cannot find symbol
> >     [javac] symbol  : variable GEO
> >     [javac] location: class com.spatial4j.core.context.SpatialContext
> >     [javac]     this.ctx = SpatialContext.GEO;
> >     [javac]                              ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:194: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class
> org.apache.solr.search.function.distance.HaversineConstFunction
> >     [javac]     this.latCenterRad_cos = Math.cos(latCenter *
> DEGREES_TO_RADIANS);
> >     [javac]                                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:205: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class
> org.apache.solr.search.function.distance.HaversineConstFunction
> >     [javac]     final double latCenterRad = this.latCenter *
> DEGREES_TO_RADIANS;
> >     [javac]                                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:206: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class
> org.apache.solr.search.function.distance.HaversineConstFunction
> >     [javac]     final double lonCenterRad = this.lonCenter *
> DEGREES_TO_RADIANS;
> >     [javac]                                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:212: cannot find symbol
> >     [javac] symbol: variable DEGREES_TO_RADIANS
> >     [javac]         double latRad = latVals.doubleVal(doc) *
> DEGREES_TO_RADIANS;
> >     [javac]                                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineCon
> stFunction.java:213: cannot find symbol
> >     [javac] symbol: variable DEGREES_TO_RADIANS
> >     [javac]         double lonRad = lonVals.doubleVal(doc) *
> DEGREES_TO_RADIANS;
> >     [javac]                                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFun
> ction.java:84: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       y1 = p1D[0] * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFun
> ction.java:85: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       x1 = p1D[1] * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFun
> ction.java:86: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       y2 = p2D[0] * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                  ^
> >     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-
> NightlyTests-
> 4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFun
> ction.java:87: cannot find symbol
> >     [javac] symbol  : variable DEGREES_TO_RADIANS
> >     [javac] location: class com.spatial4j.core.distance.DistanceUtils
> >     [javac]       x2 = p2D[1] * DistanceUtils.DEGREES_TO_RADIANS;
> >     [javac]                                  ^
> >     [javac] Note: Some input files use or override a deprecated API.
> >     [javac] Note: Recompile with -Xlint:deprecation for details.
> >     [javac] Note: Some input files use unchecked or unsafe operations.
> >     [javac] Note: Recompile with -Xlint:unchecked for details.
> >     [javac] 20 errors
> >
> > BUILD FAILED
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/build.xml:29: The following error occurred while executing this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/solr/build.xml:146: The following error occurred while executing this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/lucene/module-build.xml:63: The following error occurred while executing
> this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/solr/common-build.xml:359: The following error occurred while executing
> this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/solr/common-build.xml:310: The following error occurred while executing
> this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/lucene/common-build.xml:412: The following error occurred while
> executing this line:
> > /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-
> 4.x/lucene/common-build.xml:1433: Compile failed; see the compiler error
> output for details.
> >
> > Total time: 56 minutes 36 seconds
> > Build step 'Invoke Ant' marked build as failure Recording test results
> > Email was triggered for: Failure Sending email for trigger: Failure
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > additional commands, e-mail: dev-help@lucene.apache.org
> 
> 
> 
> --
> lucidworks.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Robert Muir <rc...@gmail.com>.
On Thu, Sep 6, 2012 at 12:28 PM, Chris Hostetter
<ho...@fucit.org> wrote:
>
> : the real problem is the solr/lib which is "shared" by solr and solrj:
> : https://issues.apache.org/jira/browse/SOLR-3686
>
> I suspect the only reason it was ever setup that way, was to
> prevent having duplicate copies of jars in svn and when we ship releases.
> svn & src releasese are no longer an issue now that we use ivy, which just
> leaves the binary releases...
>
> but honestly i'm not sure why that was ever even an issue -- core has a
> dependency on solrj, so why can't we just tell non-war users who wnat to
> use core to just copy the dependencies directly from solrj/lib?

I'm +1 for either that, or moving the hack to the binary-packaging, or
whatever we can do.

it would be great to compile solrj's src with only its dependencies
(its fine if it runs tests with solr-core and its), and it would be
also great to remove the "ivy-sync-disable" so that developers dont
have clean-jars issues anymore.

-- 
lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Robert Muir <rc...@gmail.com>.
On Thu, Sep 6, 2012 at 12:28 PM, Chris Hostetter
<ho...@fucit.org> wrote:
>
> : the real problem is the solr/lib which is "shared" by solr and solrj:
> : https://issues.apache.org/jira/browse/SOLR-3686
>
> I suspect the only reason it was ever setup that way, was to
> prevent having duplicate copies of jars in svn and when we ship releases.
> svn & src releasese are no longer an issue now that we use ivy, which just
> leaves the binary releases...

Actually I think even this might be a bit suspect, because there is
explicit duplication (a solrj-lib/) in the binary packaging.

the way this is created today leads to bugs (e.g.
https://issues.apache.org/jira/browse/SOLR-3541)

If we separate the libs, then its a straightforward copy (and
compile-time checked that we have the right stuff in there).

-- 
lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Chris Hostetter <ho...@fucit.org>.
: the real problem is the solr/lib which is "shared" by solr and solrj:
: https://issues.apache.org/jira/browse/SOLR-3686

I suspect the only reason it was ever setup that way, was to 
prevent having duplicate copies of jars in svn and when we ship releases.  
svn & src releasese are no longer an issue now that we use ivy, which just 
leaves the binary releases... 

but honestly i'm not sure why that was ever even an issue -- core has a 
dependency on solrj, so why can't we just tell non-war users who wnat to 
use core to just copy the dependencies directly from solrj/lib?

: This also means we must disable ivy's sync=true in solr/core and
: solr/solrj: which means solr developers have to put up with
: "clean-jars hell" whenever anyone updates a jar.

Ah ... that explains so much -- mccandles and i were confused by this 
yesterday, but didn't realize that there was a special hack for this.



-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure

Posted by Robert Muir <rc...@gmail.com>.
I think this jenkins job has the wrong clean option? its just
svn-upping but not nuking svn-ignored stuff like the other jenkins
jobs.

the real problem is the solr/lib which is "shared" by solr and solrj:
https://issues.apache.org/jira/browse/SOLR-3686

This means that these tests have a bogus classpath (e.g. every so
often someone accidentally makes solrj depend on lucene or something
like that, nothing fails).

This also means we must disable ivy's sync=true in solr/core and
solr/solrj: which means solr developers have to put up with
"clean-jars hell" whenever anyone updates a jar.
no other part of the build has this problem: when jars are resolved
anything thats not supposed to be there is automatically deleted.

  <!-- we cannot sync because solr/core and solr/solrj share the same
lib/... clean this up! -->
  <property name="ivy.sync" value="false"/>


On Thu, Sep 6, 2012 at 11:02 AM, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-4.x/26/
>
> All tests passed
>
> Build Log:
> [...truncated 6701 lines...]
>     [javac] Compiling 476 source files to /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/build/solr-core/classes/java
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:42: cannot find symbol
>     [javac] symbol  : static DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac] import static com.spatial4j.core.distance.DistanceUtils.DEGREES_TO_RADIANS;
>     [javac] ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:402: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]         return vals.doubleVal(doc) * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                                   ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/ValueSourceParser.java:408: cannot find symbol
>     [javac] symbol  : variable RADIANS_TO_DEGREES
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]         return vals.doubleVal(doc) * DistanceUtils.RADIANS_TO_DEGREES;
>     [javac]                                                   ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/GeoHashField.java:51: cannot find symbol
>     [javac] symbol  : variable GEO
>     [javac] location: class com.spatial4j.core.context.SpatialContext
>     [javac]   private final SpatialContext ctx = SpatialContext.GEO;
>     [javac]                                                    ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:148: cannot find symbol
>     [javac] symbol  : variable GEO
>     [javac] location: class com.spatial4j.core.context.SpatialContext
>     [javac]     Rectangle bbox = DistanceUtils.calcBoxByDistFromPtDEG(latCenter, lonCenter, distDeg, SpatialContext.GEO, null);
>     [javac]                                                                                                        ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:400: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       this.latCenterRad = SpatialDistanceQuery.this.latCenter * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                                                              ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:401: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       this.lonCenterRad = SpatialDistanceQuery.this.lonCenter * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                                                              ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:430: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       double latRad = lat * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                          ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/schema/LatLonType.java:431: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       double lonRad = lon * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                          ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHaversineFunction.java:54: cannot find symbol
>     [javac] symbol  : method degrees2Dist(int,double)
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]     this.degreesToDist = DistanceUtils.degrees2Dist(1, radius);
>     [javac]                                       ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/GeohashHaversineFunction.java:55: cannot find symbol
>     [javac] symbol  : variable GEO
>     [javac] location: class com.spatial4j.core.context.SpatialContext
>     [javac]     this.ctx = SpatialContext.GEO;
>     [javac]                              ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:194: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
>     [javac]     this.latCenterRad_cos = Math.cos(latCenter * DEGREES_TO_RADIANS);
>     [javac]                                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:205: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
>     [javac]     final double latCenterRad = this.latCenter * DEGREES_TO_RADIANS;
>     [javac]                                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:206: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class org.apache.solr.search.function.distance.HaversineConstFunction
>     [javac]     final double lonCenterRad = this.lonCenter * DEGREES_TO_RADIANS;
>     [javac]                                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:212: cannot find symbol
>     [javac] symbol: variable DEGREES_TO_RADIANS
>     [javac]         double latRad = latVals.doubleVal(doc) * DEGREES_TO_RADIANS;
>     [javac]                                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineConstFunction.java:213: cannot find symbol
>     [javac] symbol: variable DEGREES_TO_RADIANS
>     [javac]         double lonRad = lonVals.doubleVal(doc) * DEGREES_TO_RADIANS;
>     [javac]                                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:84: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       y1 = p1D[0] * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:85: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       x1 = p1D[1] * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:86: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       y2 = p2D[0] * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                  ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/core/src/java/org/apache/solr/search/function/distance/HaversineFunction.java:87: cannot find symbol
>     [javac] symbol  : variable DEGREES_TO_RADIANS
>     [javac] location: class com.spatial4j.core.distance.DistanceUtils
>     [javac]       x2 = p2D[1] * DistanceUtils.DEGREES_TO_RADIANS;
>     [javac]                                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 20 errors
>
> BUILD FAILED
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/build.xml:29: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/build.xml:146: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/module-build.xml:63: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/common-build.xml:359: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/solr/common-build.xml:310: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:412: The following error occurred while executing this line:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-4.x/lucene/common-build.xml:1433: Compile failed; see the compiler error output for details.
>
> Total time: 56 minutes 36 seconds
> Build step 'Invoke Ant' marked build as failure
> Recording test results
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org



-- 
lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org