[Mondrian] Build failed in Hudson: mondrian #637

Matt Campbell mkambol at gmail.com
Fri Mar 13 08:28:27 EDT 2009


I've been looking into the test failure with
HighDimensionsTest.testTopCount() in the current build.  The test appears to
be intended to show that the HighCardinality code will return the correct
number of tuples when a TopCount function is used.  In the definition of
TopBottomCountFunDef, however, if a nativeEvaluator is found, the expression
will be evaluated with ResultStyle.LIST--which causes it to use
SqlTupleReader, rather than the HighCardSqlTupleReader.  So if native top
count actually is used, then the high cardinality code is not executed.
This test formerly passed because it the queries it uses have redundant set
braces, which caused native evaluation to fail.  Running the same query
without the redundant set braces would have caused a test failure prior to
my change yesterday.

Another problem appears to be that the ResultLimit property has two
different purposes in SqlTupleReader and HighCardSqlTupleReader.  In
SqlTupleReader if the results fetched exceeds the limit than an exception
will be thrown.  With HighCardSqlTupleReader, it seems to be used to set the
size of the internal LinkedList used for holding tuples, but will not throw
an exception.  Note that the Target class is the one that maintains this
LinkedList, it's used by HighCardSqlTupleReader.

I'm looking for suggestions on the best way to address this.  It seems like
there probably should be a separate property for the HighCard version of
result limit.  It also seems like if it is intended to work with TopCount,
then it shouldn't be dependent on native evaluation failing.  The test only
accidentally passed before, since the set braces should be unnecessary.


On Thu, Mar 12, 2009 at 1:51 PM, Matt Campbell <mkambol at gmail.com> wrote:

> I'll investigate the errors with #638.
>
>
> On Thu, Mar 12, 2009 at 10:13 AM, Will Gorman <wgorman at pentaho.com> wrote:
>
>> Looks like Ivy had a hiccup.  I've kicked the build off again.
>>
>> Will
>>
>>
>> On Thu, 2009-03-12 at 08:56 -0400, Matt Campbell wrote:
>> > This failed on my checkin, but appears to be any ivy issue.  Anyone
>> > know the problem?
>> >
>> > On Thu, Mar 12, 2009 at 8:47 AM, <buildguy at pentaho.com> wrote:
>> >         See http://ci.pentaho.com/job/mondrian/637/changes
>> >
>> >         Changes:
>> >
>> >         [mkambol] MONDRIAN:  Consolidated duplicated code in
>> >         RolapNativeSet.  Also added minor enhancement to strip
>> >         redundant set braces when checking crossjoin args for native
>> >         eval.
>> >
>> >         ------------------------------------------
>> >         started
>> >         Performing sync with Perforce for: //open/mondrian/...
>> >         [workspace] $ p4 workspace -o mondrian.ci.pentaho.com
>> >         Changing P4 Client Root to:
>> >         http://ci.pentaho.com/job/mondrian/ws/
>> >         Changing P4 Client View
>> >         to: //open/mondrian/... //mondrian.ci.pentaho.com/...
>> >         [workspace] $ p4 -s client -i
>> >         Last sync'd change: 12421
>> >         [workspace] $ p4 changes -m 25 //open/mondrian/...
>> >         [workspace] $ p4 describe -s 12424
>> >         Sync'ing workspace to depot.
>> >         [workspace] $ p4 sync //open/mondrian/...#head
>> >         Sync complete, took 2342 MS
>> >         [workspace] $ /bin/sh -xe /var/tmp/hudson238665.sh
>> >         + rm -Rf junit-results
>> >         [workspace] $ /bin/sh -xe /var/tmp/hudson238666.sh
>> >         +
>> >         cp /build/resources/mondrian/cobertura_build.xml
>> /build/resources/mondrian/common_build.xml
>> http://ci.pentaho.com/job/mondrian/ws/
>> >         [workspace] $ /bin/sh -xe /var/tmp/hudson238667.sh
>> >         +
>> >         BUILDSCRIPT=
>> http://ci.pentaho.com/job/mondrian/ws/buildJdk1.6.sh
>> >         + echo export JAVA_HOME=/opt/jdk1.6.0_10
>> >         + echo export PATH=$JAVA_HOME/bin:$PATH
>> >         + echo /opt/ant1.7/bin/ant compile.java
>> >         + chmod a+x
>> >         http://ci.pentaho.com/job/mondrian/ws/buildJdk1.6.sh
>> >         [workspace] $ /opt/ant1.7/bin/ant
>> >         -Dunix.script=
>> http://ci.pentaho.com/job/mondrian/ws/buildJdk1.6.sh  clean-deep binzip
>> >         Buildfile: build.xml
>> >
>> >         clean-deep:
>> >
>> >         clean:
>> >
>> >         version:
>> >
>> >         checkIsNotJdk16:
>> >
>> >         download-ivy:
>> >              [get] Getting:
>> >
>> http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar
>> >              [get] To:
>> >         http://ci.pentaho.com/job/mondrian/ws/ivy/ivy.jar
>> >              [get] Not modified - so not downloaded
>> >
>> >         install-ivy:
>> >
>> >         resolve:
>> >         [ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 ::
>> >         http://ant.apache.org/ivy/ ::
>> >         :: loading settings :: file =
>> >         http://ci.pentaho.com/job/mondrian/ws/ivysettings.xml
>> >         [ivy:resolve] :: resolving dependencies ::
>> >         pentaho#mondrian-workbench;3.1.0
>> >         [ivy:resolve]   confs: [default]
>> >         [ivy:resolve]   found commons-codec#commons-codec;1.2 in chain
>> >         [ivy:resolve]   found
>> >         commons-httpclient#commons-httpclient;3.0.1 in chain
>> >         [ivy:resolve]   found commons-logging#commons-logging;1.0.3 in
>> >         chain
>> >         [ivy:resolve]   found commons-lang#commons-lang;2.3 in chain
>> >         [ivy:resolve]   found jaxen#jaxen;1.1.1 in chain
>> >         [ivy:resolve]   found dom4j#dom4j;1.6.1 in chain
>> >         [ivy:resolve]   found msv#xsdlib;20030807 in ibiblio
>> >         [ivy:resolve]   found msv#relaxngDatatype;20030807 in ibiblio
>> >         [ivy:resolve]   found pull-parser#pull-parser;2 in ibiblio
>> >         [ivy:resolve]   found xpp3#xpp3;1.1.3.3 in ibiblio
>> >         [ivy:resolve]   found stax#stax-api;1.0 in ibiblio
>> >         [ivy:resolve]   found xml-apis#xml-apis;1.3.02 in chain
>> >         [ivy:resolve]   found xerces#xercesImpl;2.6.2 in chain
>> >         [ivy:resolve]   found jdom#jdom;1.0 in chain
>> >         [ivy:resolve]   found xom#xom;1.0 in chain
>> >         [ivy:resolve]   found xerces#xmlParserAPIs;2.6.2 in chain
>> >         [ivy:resolve]   found xalan#xalan;2.6.0 in chain
>> >         [ivy:resolve]   found com.ibm.icu#icu4j;2.6.1 in chain
>> >         [ivy:resolve]   found junit#junit;4.0 in ibiblio
>> >         [ivy:resolve]   found
>> >         pentaho#pentaho-mondrianschemaworkbench-plugins;1.0.34319 in
>> >         chain
>> >         [ivy:resolve] :: resolution report :: resolve 944ms ::
>> >         artifacts dl 134ms
>> >         [ivy:resolve]   :: evicted modules:
>> >         [ivy:resolve]   junit#junit;3.8.1 by [junit#junit;4.0] in
>> >         [default]
>> >         [ivy:resolve]   xml-apis#xml-apis;1.0.b2 by
>> >         [xml-apis#xml-apis;1.3.02] in [default]
>> >         [ivy:resolve]   jaxen#jaxen;1.1-beta-6 by [jaxen#jaxen;1.1.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     |   24  |   0   |   0   |   4   ||
>> >         21  |   0   |
>> >
>> >
>>  ---------------------------------------------------------------------
>> >         [ivy:resolve]
>> >         [ivy:resolve] :: problems summary ::
>> >         [ivy:resolve] :::: ERRORS
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]
>> >         [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE
>> >         DETAILS
>> >         [ivy:retrieve] :: retrieving :: pentaho#mondrian-workbench
>> >         [ivy:retrieve]  confs: [default]
>> >         [ivy:retrieve]  19 artifacts copied, 0 already retrieved
>> >         (8642kB/304ms)
>> >         [ivy:retrieve] :: retrieving :: pentaho#mondrian-workbench
>> >         [ivy:retrieve]  confs: [default]
>> >         [ivy:retrieve]  2 artifacts copied, 0 already retrieved
>> >         (179kB/15ms)
>> >         [ivy:resolve] :: resolving dependencies ::
>> >         pentaho#mondrian;3.1.0
>> >         [ivy:resolve]   confs: [default]
>> >         [ivy:resolve]   found
>> >         commons-collections#commons-collections;2.1 in chain
>> >         [ivy:resolve]   found commons-dbcp#commons-dbcp;1.2 in chain
>> >         [ivy:resolve]   found xerces#xerces;2.0.2 in chain
>> >         [ivy:resolve]   found commons-lang#commons-lang;2.0 in chain
>> >         [ivy:resolve]   found commons-io#commons-io;1.3.1 in chain
>> >         [ivy:resolve]   found commons-logging#commons-logging;1.0.4 in
>> >         chain
>> >         [ivy:resolve]   found logkit#logkit;1.0.1 in chain
>> >         [ivy:resolve]   found commons-math#commons-math;1.0 in chain
>> >         [ivy:resolve]   found commons-pool#commons-pool;1.3 in chain
>> >         [ivy:resolve]   found commons-vfs#commons-vfs;1.0 in chain
>> >         [ivy:resolve]   found ant#ant;1.6.2 in ibiblio
>> >         [ivy:resolve]   found
>> >         commons-collections#commons-collections;3.1 in chain
>> >         [ivy:resolve]   found javacup#javacup;10k in chain
>> >         [ivy:resolve]   found dom4j#dom4j;1.6.1 in chain
>> >         [ivy:resolve]   found msv#xsdlib;20030807 in ibiblio
>> >         [ivy:resolve]   found msv#relaxngDatatype;20030807 in ibiblio
>> >         [ivy:resolve]   found pull-parser#pull-parser;2 in ibiblio
>> >         [ivy:resolve]   found xpp3#xpp3;1.1.3.3 in ibiblio
>> >         [ivy:resolve]   found stax#stax-api;1.0 in ibiblio
>> >         [ivy:resolve]   found
>> >         backport-util-concurrent#backport-util-concurrent;3.0 in chain
>> >         [ivy:resolve]   found retroweaver#asm;2.2.3 in chain
>> >         [ivy:resolve]   found retroweaver#asm-commons;2.2.3 in chain
>> >         [ivy:resolve]   found retroweaver#retroweaver;1.2.4 in chain
>> >         [ivy:resolve]   found retroweaver#retroweaver-rt;1.2.4 in
>> >         chain
>> >         [ivy:resolve]   found eigenbase#eigenbase-xom;1.3.0.11999 in
>> >         pentaho-rep
>> >         [ivy:resolve]   found
>> >         eigenbase#eigenbase-properties;1.1.0.10924 in chain
>> >         [ivy:resolve]   found eigenbase#eigenbase-resgen;1.3.0.11873
>> >         in pentaho-rep
>> >         [ivy:resolve]   found sun#jlfgr;1.0 in pentaho-rep
>> >         [ivy:resolve]   found junit#junit;3.8.1 in chain
>> >         [ivy:resolve]   found javax.servlet#jsp-api;2.0 in chain
>> >         [ivy:resolve]   found javax.servlet#servlet-api;2.4 in chain
>> >         [ivy:resolve]   found log4j#log4j;1.2.9 in chain
>> >         [ivy:resolve]   found xalan#xalan;2.4.1 in chain
>> >         [ivy:resolve]   found xerces#xercesImpl;2.5.0 in chain
>> >         [ivy:resolve]   found xmlunit#xmlunit;1.1 in chain
>> >         [ivy:resolve]   found junit#junit;3.8.2 in chain
>> >         [ivy:resolve]   found org.apache.derby#derby;10.2.2.0 in chain
>> >         [ivy:resolve]   found com.tonbeller#jpivot;1.8.0-090302 in
>> >         pentaho-rep
>> >         [ivy:resolve] :: resolution report :: resolve 6555ms ::
>> >         artifacts dl 82ms
>> >         [ivy:resolve]   :: evicted modules:
>> >         [ivy:resolve]   commons-collections#commons-collections;2.1 by
>> >         [commons-collections#commons-collections;3.1] in [default]
>> >         [ivy:resolve]   commons-pool#commons-pool;1.2 by
>> >         [commons-pool#commons-pool;1.3] in [default]
>> >         [ivy:resolve]   xerces#xercesImpl;2.0.2 by
>> >         [xerces#xercesImpl;2.5.0] in [default]
>> >         [ivy:resolve]   log4j#log4j;1.2.6 by [log4j#log4j;1.2.9] in
>> >         [default]
>> >         [ivy:resolve]   commons-logging#commons-logging;1.0.3 by
>> >         [commons-logging#commons-logging;1.0.4] in [default]
>> >         [ivy:resolve]   junit#junit;3.8.1 by [junit#junit;3.8.2] in
>> >         [default]
>> >
>> >
>>  ---------------------------------------------------------------------
>> >                |                  |            modules            ||
>> >         artifacts   |
>> >                |       conf       | number| search|dwnlded|evicted||
>> >         number|dwnlded|
>> >
>> >
>>  ---------------------------------------------------------------------
>> >                |      default     |   43  |   0   |   0   |   6   ||
>> >         35  |   0   |
>> >
>> >
>>  ---------------------------------------------------------------------
>> >         [ivy:resolve]
>> >         [ivy:resolve] :: problems summary ::
>> >         [ivy:resolve] :::: WARNINGS
>> >         [ivy:resolve]           module not found:
>> >         org.olap4j#olap4j;0.9.7.145
>> >         [ivy:resolve]   ==== pentaho-rep: tried
>> >         [ivy:resolve]     -- artifact org.olap4j#olap4j;0.9.7.145!
>> >         olap4j.jar:
>> >         [ivy:resolve]
>> >
>> http://repo.pentaho.org/artifactory/repo/org/olap4j/olap4j/0.9.7.145/olap4j-0.9.7.145.jar
>> >         [ivy:resolve]
>> >
>> http://repo.pentaho.org/artifactory/repo/org/olap4j/olap4j/0.9.7.145/olap4j.jar
>> >         [ivy:resolve]     -- artifact org.olap4j#olap4j;0.9.7.145!
>> >         olap4j.jar(source):
>> >         [ivy:resolve]
>> >
>> http://repo.pentaho.org/artifactory/repo/org/olap4j/olap4j/0.9.7.145/olap4j-0.9.7.145.jar
>> >         [ivy:resolve]
>> >
>> http://repo.pentaho.org/artifactory/repo/org/olap4j/olap4j/0.9.7.145/olap4j.jar
>> >         [ivy:resolve]   ==== ibiblio: tried
>> >         [ivy:resolve]
>> >
>> http://repo1.maven.org/maven2/org/olap4j/olap4j/0.9.7.145/olap4j-0.9.7.145.pom
>> >         [ivy:resolve]     -- artifact org.olap4j#olap4j;0.9.7.145!
>> >         olap4j.jar:
>> >         [ivy:resolve]
>> >
>> http://repo1.maven.org/maven2/org/olap4j/olap4j/0.9.7.145/olap4j-0.9.7.145.jar
>> >         [ivy:resolve]     -- artifact org.olap4j#olap4j;0.9.7.145!
>> >         olap4j.jar(source):
>> >         [ivy:resolve]
>> >
>> http://repo1.maven.org/maven2/org/olap4j/olap4j/0.9.7.145/olap4j-0.9.7.145.jar
>> >         [ivy:resolve]
>> >           ::::::::::::::::::::::::::::::::::::::::::::::
>> >         [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES
>> >               ::
>> >         [ivy:resolve]
>> >           ::::::::::::::::::::::::::::::::::::::::::::::
>> >         [ivy:resolve]           :: org.olap4j#olap4j;0.9.7.145: not
>> >         found
>> >         [ivy:resolve]
>> >           ::::::::::::::::::::::::::::::::::::::::::::::
>> >         [ivy:resolve] :::: ERRORS
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]   unknown resolver default
>> >         [ivy:resolve]
>> >         [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE
>> >         DETAILS
>> >
>> >         BUILD FAILED
>> >         http://ci.pentaho.com/job/mondrian/ws/build.xml :394:
>> >         impossible to resolve dependencies:
>> >                resolve failed - see output for details
>> >
>> >         Total time: 13 seconds
>> >         Recording fingerprints
>> >         Recording test results
>> >
>> >
>> >         _______________________________________________
>> >         Mondrian mailing list
>> >         Mondrian at pentaho.org
>> >         http://lists.pentaho.org/mailman/listinfo/mondrian
>> >
>> > _______________________________________________
>> > Mondrian mailing list
>> > Mondrian at pentaho.org
>> > http://lists.pentaho.org/mailman/listinfo/mondrian
>>
>> _______________________________________________
>> Mondrian mailing list
>> Mondrian at pentaho.org
>> http://lists.pentaho.org/mailman/listinfo/mondrian
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20090313/13b46672/attachment.html 


More information about the Mondrian mailing list