commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Meyer Andersen <m...@mikl.dk>
Subject Re: [GUMP@vmgump]: Project commons-math (in module apache-commons) failed
Date Tue, 28 Dec 2010 22:19:52 GMT
Hi,

Thanks. I've purified the tests in 2.2 in revision 1053471 and in 3.0
in revision 1053472.

Cheers, Mikkel.

2010/12/28 Phil Steitz <phil.steitz@gmail.com>:
> On Tue, Dec 28, 2010 at 1:06 PM, Phil Steitz <phil.steitz@gmail.com> wrote:
>
>>
>>
>> On Tue, Dec 28, 2010 at 4:11 AM, Mikkel Meyer Andersen <mikl@mikl.dk>wrote:
>>
>>> Hi,
>>>
>>> I'm not sure I understand this. According to
>>>
>>> http://vmgump.apache.org/gump/public/apache-commons/commons-math/gump_work/build_apache-commons_commons-math.txt
>>> it fails at CauchyDistributionTest, FDistributionTest, and
>>> TDistributionTest. I have a suspicion that it is my patch for
>>> MATH-385, but locally mvn clean install builds succesfully. Is it
>>> possible to see surefire-reports on GUMP or how does one debug these
>>> failures?
>>>
>>
>> I think the text above is a concatenation of the surefire reports.  In any
>> case, from the line numbers, you can see that what is failing are
>> comparisons like  assertEquals(dist.getNumericalMean(), Double.NaN, tol);
>> These work with the pom-specified junit version and jdk 1.6.  Gump looks
>> like it is running against junit head and open jdk 1.6.  These kinds of
>> tests used to fail and for this reason we added
>> o.a.c.m.TestUtils.assertEquals(double,double,double) that handles NaNs
>> correctly.  Making that change will likely fix the problem.
>>
>> Of course, for cases like above where the NaN is directly supplied, you
> could also just assert isNaN.
>
> Phil
>
>
>>
>>>
>>> 2010/12/28 Gump <issues@commons.apache.org>:
>>> > To whom it may engage...
>>> >
>>> > This is an automated request, but not an unsolicited one. For
>>> > more information please visit http://gump.apache.org/nagged.html,
>>> > and/or contact the folk at general@gump.apache.org.
>>> >
>>> > Project commons-math has an issue affecting its community integration.
>>> > This issue affects 1 projects,
>>> >  and has been outstanding for 107 runs.
>>> > The current state of this project is 'Failed', with reason 'Build
>>> Failed'.
>>> > For reference only, the following projects are affected by this:
>>> >    - commons-math :  The Jakarta Mathematics Library
>>> >
>>> >
>>> > Full details are available at:
>>> >
>>> http://vmgump.apache.org/gump/public/apache-commons/commons-math/index.html
>>> >
>>> > That said, some information snippets are provided here.
>>> >
>>> > The following annotations (debug/informational/warning/error messages)
>>> were provided:
>>> >  -DEBUG- Sole jar output [commons-math-28122010.jar] identifier set to
>>> project name
>>> >  -DEBUG- Dependency on junit exists, no need to add for property
>>> junit.jar.
>>> >  -INFO- Failed with reason build failed
>>> >  -DEBUG- Extracted fallback artifacts from Gump Repository
>>> >
>>> >
>>> >
>>> > The following work was performed:
>>> >
>>> http://vmgump.apache.org/gump/public/apache-commons/commons-math/gump_work/build_apache-commons_commons-math.html
>>> > Work Name: build_apache-commons_commons-math (Type: Build)
>>> > Work ended in a state of : Failed
>>> > Elapsed: 7 mins 43 secs
>>> > Command Line: /usr/lib/jvm/java-6-openjdk/bin/java
>>> -Djava.awt.headless=true
>>> -Xbootclasspath/p:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
>>> org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml
>>> -Dbuild.sysclasspath=only
>>> -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-28122010.jar
>>> -Dfinal.name=commons-math-28122010 jar
>>> > [Working Directory: /srv/gump/public/workspace/apache-commons/math]
>>> > CLASSPATH:
>>> /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/apache-commons/math/target/classes:/srv/gump/public/workspace/apache-commons/math/target/test-classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/srv/gump/public/workspace/junit/dist/junit-28122010.jar:/srv/gump/public/workspace/junit/dist/junit-dep-28122010.jar
>>> > ---------------------------------------------
>>> >    [junit] Testcase: testRemoveAbsent took 0.01 sec
>>> >    [junit] Testcase: testCopy took 0 sec
>>> >    [junit] Testcase: testContainsKey took 0.005 sec
>>> >    [junit] Testcase: testIterator took 0.015 sec
>>> >    [junit] Testcase: testConcurrentModification took 0 sec
>>> >    [junit] Testcase: testPutKeysWithCollisions took 0 sec
>>> >    [junit] Testcase: testPutKeysWithCollision2 took 0 sec
>>> >    [junit] Running org.apache.commons.math.util.PairTest
>>> >    [junit] Testsuite: org.apache.commons.math.util.PairTest
>>> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
>>> >    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.169 sec
>>> >    [junit]
>>> >    [junit] Testcase: testAccessor took 0.006 sec
>>> >    [junit] Testcase: testEquals took 0.001 sec
>>> >    [junit] Running org.apache.commons.math.util.ResizableDoubleArrayTest
>>> >    [junit] Testsuite:
>>> org.apache.commons.math.util.ResizableDoubleArrayTest
>>> >    [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.355
>>> sec
>>> >    [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.355
>>> sec
>>> >    [junit]
>>> >    [junit] Testcase: testConstructors took 0.03 sec
>>> >    [junit] Testcase: testSetElementArbitraryExpansion took 0.17 sec
>>> >    [junit] Testcase: testAdd1000 took 0 sec
>>> >    [junit] Testcase: testAddElementRolling took 0.052 sec
>>> >    [junit] Testcase: testSetNumberOfElements took 0 sec
>>> >    [junit] Testcase: testWithInitialCapacity took 0.006 sec
>>> >    [junit] Testcase: testWithInitialCapacityAndExpansionFactor took
>>> 0.001 sec
>>> >    [junit] Testcase: testDiscard took 0 sec
>>> >    [junit] Testcase: testSubstitute took 0.001 sec
>>> >    [junit] Testcase: testMutators took 0 sec
>>> >    [junit] Testcase: testEqualsAndHashCode took 0 sec
>>> >    [junit] Testcase: testGetValues took 0 sec
>>> >    [junit] Testcase: testMinMax took 0 sec
>>> >    [junit] Running org.apache.commons.math.util.TransformerMapTest
>>> >    [junit] Testsuite: org.apache.commons.math.util.TransformerMapTest
>>> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.069 sec
>>> >    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.069 sec
>>> >    [junit]
>>> >    [junit] Testcase: testPutTransformer took 0.006 sec
>>> >    [junit] Testcase: testContainsClass took 0 sec
>>> >    [junit] Testcase: testContainsTransformer took 0 sec
>>> >    [junit] Testcase: testRemoveTransformer took 0.004 sec
>>> >    [junit] Testcase: testClear took 0 sec
>>> >    [junit] Testcase: testClasses took 0 sec
>>> >    [junit] Testcase: testTransformers took 0 sec
>>> >    [junit] Testcase: testSerial took 0.019 sec
>>> >
>>> > BUILD FAILED
>>> > /srv/gump/public/workspace/apache-commons/math/build.xml:203: There were
>>> test failures.
>>> >
>>> > Total time: 7 minutes 40 seconds
>>> > ---------------------------------------------
>>> >
>>> > To subscribe to this information via syndicated feeds:
>>> > - RSS:
>>> http://vmgump.apache.org/gump/public/apache-commons/commons-math/rss.xml
>>> > - Atom:
>>> http://vmgump.apache.org/gump/public/apache-commons/commons-math/atom.xml
>>> >
>>> > ============================== Gump Tracking Only ===
>>> > Produced by Apache Gump(TM) version 2.3.
>>> > Gump Run 24000628122010, vmgump.apache.org:vmgump:24000628122010
>>> > Gump E-mail Identifier (unique within run) #2.
>>> >
>>> > --
>>> > Apache Gump
>>> > http://gump.apache.org/ [Instance: vmgump]
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> > For additional commands, e-mail: dev-help@commons.apache.org
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>

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


Mime
View raw message