Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200267 - dev-java/commons-collections-3.2-r1 fails a test on ppc
Summary: dev-java/commons-collections-3.2-r1 fails a test on ppc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-25 10:17 UTC by Petteri Räty (RETIRED)
Modified: 2016-01-16 11:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-11-25 10:17:41 UTC
https://bugs.gentoo.org/show_bug.cgi?id=198993#c2

Fails test on ppc:

testjar:
     [echo] Running collections tests against built jar ...
    [junit] Running org.apache.commons.collections.TestAllPackages
    [junit] Testsuite: org.apache.commons.collections.TestAllPackages
    [junit] Tests run: 75, Failures: 1, Errors: 0, Time elapsed: 1.002 sec
    [junit] Tests run: 75, Failures: 1, Errors: 0, Time elapsed: 1.002 sec
    [junit]
    [junit] Testcase:
testIntersectionUsesMethodEquals(org.apache.commons.collections.TestCollectionUtils):
    FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit]     at
org.apache.commons.collections.TestCollectionUtils.testIntersectionUsesMethodEquals(TestCollectionUtils.java:1231)
    [junit]
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-11-25 10:33:47 UTC
I'd suggest dropping src/test/org/apache/commons/collections/TestCollectionUtils.java when testing on PPC or patching out the method 'testIntersectionUsesMethodEquals' - which fails.
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-11-25 13:20:01 UTC
I'll try to debug this on monday.
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-12-09 15:43:25 UTC
Now it fails wioth OutOfMemoryError:

testjar:
     [echo] Running collections tests against built jar ...
    [junit] Running org.apache.commons.collections.TestAllPackages
    [junit] Testsuite: org.apache.commons.collections.TestAllPackages
    [junit] JVMDUMP006I Processing Dump Event "systhrow", detail "java/lang/OutOfMemoryError" - Please Wait.
    [junit] JVMDUMP007I JVM Requesting Snap Dump using '/var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/Snap0001.20071209.152226.10017.trc'
    [junit] JVMDUMP010I Snap Dump written to /var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/Snap0001.20071209.152226.10017.trc
    [junit] JVMDUMP007I JVM Requesting Heap Dump using '/var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/heapdump.20071209.152226.10017.phd'
    [junit] JVMDUMP010I Heap Dump written to /var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/heapdump.20071209.152226.10017.phd
    [junit] JVMDUMP007I JVM Requesting Java Dump using '/var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/javacore.20071209.152226.10017.txt'
    [junit] JVMDUMP010I Java Dump written to /var/tmp/portage/dev-java/commons-collections-3.2-r1/work/commons-collections-3.2-src/javacore.20071209.152226.10017.txt
    [junit] JVMDUMP013I Processed Dump Event "systhrow", detail "java/lang/OutOfMemoryError".
    [junit] Tests run: 13009, Failures: 0, Errors: 1, Time elapsed: 147,731 sec
    [junit] Tests run: 13009, Failures: 0, Errors: 1, Time elapsed: 147,731 sec
    [junit]
    [junit] Testcase: testPurgeValues(TestReferenceMap.testPurgeValues) :       Caused an ERROR
    [junit] null
    [junit] java.lang.OutOfMemoryError
    [junit]     at org.apache.commons.collections.map.TestReferenceMap.testPurgeValues(TestReferenceMap.java:239)
    [junit]
    [junit]

I've added if check to src_test to skip testing on ppc.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-12-09 17:51:07 UTC
(In reply to comment #3)
> Now it fails wioth OutOfMemoryError:
> 
> 
> I've added if check to src_test to skip testing on ppc.
> 

That's a workaround, not a real fix.
Comment 5 Agostino Sarubbo gentoo-dev 2012-12-22 21:27:27 UTC
Please CC back ppc if the arch team has anything to do here.
Comment 6 Patrice Clement gentoo-dev 2016-01-16 11:50:46 UTC
Java support on ppc has been dropped:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43d2c01dc453381059153dc66abf6ef5ce97503