See <http://ci.pentaho.com/job/mondrian/1085/changes>

Changes:

[Luc Boudreau] MONDRIAN: [MONDRIAN-918]

Adds approxRowCount to AggTable elements and associated classes. Also adds logic to use approxRowCount when supplied instead of issuing a count() query.

Also fixes a very rare race-condition bug where the segment cache might clear an entry between the calls to contains() and get().

Also modifies the visibility of some functions of BatchTestCase for easier testing.

------------------------------------------
[...truncated 1293 lines...]
[ivy:resolve] jaxen#jaxen;1.1-beta-6 by [jaxen#jaxen;1.1.1] in [default]
[ivy:resolve] xml-apis#xml-apis;1.3.02 by [xml-apis#xml-apis;1.3.04] in [default]
[ivy:resolve] xerces#xercesImpl;2.6.2 by [xerces#xercesImpl;2.9.1] in [default]
[ivy:resolve] xml-apis#xml-apis;2.0.2 by [xml-apis#xml-apis;1.3.02] in [default]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 36 | 6 | 0 | 6 || 40 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: pentaho#mondrian-workbench
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 29 already retrieved (0kB/18ms)
[ivy:retrieve] :: retrieving :: pentaho#mondrian-workbench
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 11 already retrieved (0kB/12ms)
[ivy:resolve] :: resolving dependencies :: pentaho#mondrian;3.3-SNAPSHOT
[ivy:resolve] confs: [codegen, default, default-jdk1.4, sources, dist, test]
[ivy:resolve] found commons-collections#commons-collections;3.2 in public
[ivy:resolve] found commons-dbcp#commons-dbcp;1.2 in public
[ivy:resolve] found commons-pool#commons-pool;1.2 in public
[ivy:resolve] found xerces#xerces;2.0.2 in public
[ivy:resolve] found commons-lang#commons-lang;2.0 in public
[ivy:resolve] found commons-io#commons-io;1.3.1 in public
[ivy:resolve] found commons-logging#commons-logging;1.0.4 in default
[ivy:resolve] found commons-math#commons-math;1.0 in default
[ivy:resolve] found commons-vfs#commons-vfs;1.0 in public
[ivy:resolve] found javacup#javacup;10k in default
[ivy:resolve] found net.java.dev.javacc#javacc;5.0 in public
[ivy:resolve] found dom4j#dom4j;1.6.1 in public
[ivy:resolve] found eigenbase#eigenbase-xom;1.3.0.13768 in default
[ivy:resolve] found eigenbase#eigenbase-properties;1.1.0.10924 in default
[ivy:resolve] found eigenbase#eigenbase-resgen;1.3.0.13768 in default
[ivy:resolve] found sun#jlfgr;1.0 in default
[ivy:resolve] found javax.servlet#jsp-api;2.0 in default
[ivy:resolve] found javax.servlet#servlet-api;2.4 in public
[ivy:resolve] found log4j#log4j;1.2.9 in default
[ivy:resolve] found org.olap4j#olap4j;1.0.0.445 in pentaho-rep
[ivy:resolve] found xalan#xalan;2.4.1 in public
[ivy:resolve] found xerces#xercesImpl;2.5.0 in public
[ivy:resolve] found backport-util-concurrent#backport-util-concurrent;3.1 in default
[ivy:resolve] found asm#asm;3.1 in default
[ivy:resolve] found asm#asm-commons;3.1 in ibiblio
[ivy:resolve] found asm#asm-tree;3.1 in ibiblio
[ivy:resolve] found asm#asm-util;3.1 in ibiblio
[ivy:resolve] found retroweaver#retroweaver;2.0.7 in pentaho-rep
[ivy:resolve] found retroweaver#retroweaver-rt;2.0.7 in pentaho-rep
[ivy:resolve] found org.apache.derby#derby;10.2.2.0 in ibiblio
[ivy:resolve] found hsqldb#hsqldb;1.8.0 in default
[ivy:resolve] found com.tonbeller#jpivot;1.8.0-100420 in default
[ivy:resolve] found org.olap4j#olap4j-tck;1.0.0.445 in pentaho-rep
[ivy:resolve] found org.olap4j#olap4j-xmla;1.0.0.445 in pentaho-rep
[ivy:resolve] found junit#junit;3.8.1 in public
[ivy:resolve] found xmlunit#xmlunit;1.1 in ibiblio
[ivy:resolve] :: resolution report :: resolve 469ms :: artifacts dl 99ms
[ivy:resolve] :: evicted modules:
[ivy:resolve] commons-collections#commons-collections;2.1 by [commons-collections#commons-collections;3.2] in [default]
[ivy:resolve] xerces#xercesImpl;2.0.2 by [xerces#xercesImpl;2.5.0] in [default]
[ivy:resolve] commons-logging#commons-logging;1.0.3 by [commons-logging#commons-logging;1.0.4] in [default]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| codegen | 0 | 0 | 0 | 0 || 0 | 0 |
| default | 25 | 1 | 0 | 3 || 21 | 0 |
| default-jdk1.4 | 7 | 0 | 0 | 0 || 7 | 0 |
| sources | 1 | 1 | 0 | 0 || 1 | 0 |
| dist | 3 | 0 | 0 | 0 || 3 | 0 |
| test | 4 | 2 | 0 | 0 || 4 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: pentaho#mondrian
[ivy:retrieve] confs: [codegen, default, default-jdk1.4, sources, dist, test]
[ivy:retrieve] 0 artifacts copied, 35 already retrieved (0kB/35ms)
[ivy:retrieve] :: retrieving :: pentaho#mondrian
[ivy:retrieve] confs: [codegen, default, default-jdk1.4, sources, dist, test]
[ivy:retrieve] 0 artifacts copied, 1 already retrieved (0kB/26ms)

prepare:

define-tasks:

parser:
[javacup] Files are up to date.
[javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/parser/MdxParser.jj> . . .
[javacc] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
[javacc] File "TokenMgrError.java" is being rebuilt.
[javacc] File "ParseException.java" is being rebuilt.
[javacc] File "Token.java" is being rebuilt.
[javacc] File "SimpleCharStream.java" is being rebuilt.
[javacc] Parser generated successfully.

generate.resources:
[resgen] <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/resource/MondrianResource.java> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/classes/mondrian/resource/MondrianResource.properties> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/resource/MondrianResource_en_US.java> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/classes/mondrian/resource/MondrianResource_en_US.properties> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/resource/MondrianResource_de_DE.java> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/classes/mondrian/resource/MondrianResource_de_DE.properties> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/resource/MondrianResource_de.java> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/classes/mondrian/resource/MondrianResource_de.properties> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/resource/MondrianResource_es_ES.java> is up to date
[resgen] <http://ci.pentaho.com/job/mondrian/ws/classes/mondrian/resource/MondrianResource_es_ES.properties> is up to date

generate.properties:
[java] Generating src/main/mondrian/olap/MondrianProperties.java
[java] Generating doc/properties.html
[java] Generating mondrian.properties.template

def:

compile.java:
[javac] Compiling 9 source files to <http://ci.pentaho.com/job/mondrian/ws/classes>
[javac] Note: <http://ci.pentaho.com/job/mondrian/ws/src/main/mondrian/parser/MdxParserImplTokenManager.java> uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

compile:

info:
[echo] ==============================================================
[echo] | Mondrian configuration info |
[echo] ==============================================================
[echo] project.location = <http://ci.pentaho.com/job/mondrian/ws/>
[echo] jdk.home = /opt/java5
[echo] log4j.configuration = log4j.properties
[echo] mondrian.foodmart.catalogURL = <http://ci.pentaho.com/job/mondrian/ws/demo/FoodMart.xml>
[echo] mondrian.foodmart.jdbcURL = jdbcdbc:MondrianFoodMart
[echo] mondrian.jdbcDrivers = sun.jdbc.odbc.JdbcOdbcDriver
[echo] driver.classpath (additions) =
[echo] ==============================================================

compile.tests:
[echo] Test Classpath: <http://ci.pentaho.com/job/mondrian/ws/lib/asm-commons.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/asm-tree.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/asm-util.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/asm.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/backport-util-concurrent.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-collections.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-dbcp.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-io.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-lang.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-logging.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-math.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-pool.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/commons-vfs.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/derby.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/dom4j.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/eigenbase-properties.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/eigenbase-resgen.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/eigenbase-xom.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/hsqldb.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/javacc.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/javacup.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/jlfgr.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/jsp-api.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/junit.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/log4j.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/olap4j-source.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/olap4j-tck.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/olap4j-xmla.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/olap4j.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/retroweaver-rt.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/retroweaver.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/servlet-api.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/xalan.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/xercesImpl.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/xml-apis.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/lib/xmlunit.jar>
[echo] <http://ci.pentaho.com/job/mondrian/ws/classes>
[echo] <http://ci.pentaho.com/job/mondrian/ws/testclasses>

compileJdk16:
[exec] Buildfile: build.xml
[exec]
[exec] compile.java:
[exec]
[exec] BUILD SUCCESSFUL
[exec] Total time: 1 second

jar:
[jar] Updating jar: <http://ci.pentaho.com/job/mondrian/ws/lib/mondrian.jar>
[copy] Copying 1 file to <http://ci.pentaho.com/job/mondrian/ws/dist>

dist:

init:

source.jar:
[jar] Building jar: <http://ci.pentaho.com/job/mondrian/ws/dist/mondrian-3.3-SNAPSHOT-sources.jar>

source.zip:
[jar] Building jar: <http://ci.pentaho.com/job/mondrian/1085/artifact/dist/mondrian-3.3-SNAPSHOT-src.zip>

source.targz:
[tar] Building tar: <http://ci.pentaho.com/job/mondrian/ws/dist/mondrian-3.3-SNAPSHOT-src.tar.gz>

dist-source:

create-pom:

ivy.deliver:
[ivy:deliver] :: delivering :: pentaho#mondrian;3.3-SNAPSHOT :: 3.3-SNAPSHOT :: integration :: Wed Jul 06 15:41:26 EDT 2011
[ivy:deliver] delivering ivy file to <http://ci.pentaho.com/job/mondrian/ws/dist/ivy.xml>

publish-nojar:

maven-publish-dependencies:
[echo] Publishing <http://ci.pentaho.com/job/mondrian/ws/dist/ivy.xml> to http://repository.pentaho.org/artifactory/pentaho...
[exec] Running Pentaho Safeguarded mvn script...
[exec] testing file argument [-Dfile=<http://ci.pentaho.com/job/mondrian/ws/dist/ivy.xml]>
[exec] EE_ARTIFACT=[0]
[exec] testing url argument [-Durl=http://repository.pentaho.org/artifactory/pentaho]
[exec] OPEN_REPO=[1]
[exec] testing version argument [-Dversion=3.3-SNAPSHOT]
[exec] EE_VERSION=[0]
[exec] Executing maven publish command: [mvn deploy:deploy-file -DrepositoryId=pentaho -Durl=http://repository.pentaho.org/artifactory/pentaho -DgroupId=pentaho -DartifactId=mondrian -Dversion=3.3-SNAPSHOT -Dpackaging=ivy.xml -Dfile=<http://ci.pentaho.com/job/mondrian/ws/dist/ivy.xml]>
[exec] [INFO] Scanning for projects...
[exec] [INFO] Searching repository for plugin with prefix: 'deploy'.
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Building Maven Default Project
[exec] [INFO] task-segment: [deploy:deploy-file] (aggregator-style)
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] [deploy:deploy-file]
[exec] [INFO] Retrieving previous build number from pentaho
[exec] Uploading: http://repository.pentaho.org/artifactory/pentaho/pentaho/mondrian/3.3-SNAPSHOT/mondrian-3.3-20110706.194135-2.ivy.xml
[exec] 4/5K
[exec] 5/5K5K uploaded[INFO] ------------------------------------------------------------------------
[exec] [ERROR] BUILD ERROR
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Error deploying artifact: Failed to transfer file: http://repository.pentaho.org/artifactory/pentaho/pentaho/mondrian/3.3-SNAPSHOT/mondrian-3.3-20110706.194135-2.ivy.xml. Return code is: 401
[exec]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] For more information, run Maven with the -e switch
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 8 seconds
[exec] [INFO] Finished at: Wed Jul 06 15:41:39 EDT 2011
[exec] [INFO] Final Memory: 7M/206M
[exec] [INFO] ------------------------------------------------------------------------

BUILD FAILED
<http://ci.pentaho.com/job/mondrian/ws/subfloor.xml>:793: The following error occurred while executing this line:
<http://ci.pentaho.com/job/mondrian/ws/subfloor.xml>:856: exec returned: 1

Total time: 5 minutes 50 seconds
Recording test results
Archiving artifacts
Recording fingerprints
Skipping Cobertura coverage report as build was not UNSTABLE or better ...

_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian