lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-NightlyTests-4.x - Build # 26 - Failure
Date Thu, 06 Sep 2012 15:14:31 GMT
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
<jenkins@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


Mime
View raw message