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]
I'd suggest dropping src/test/org/apache/commons/collections/TestCollectionUtils.java when testing on PPC or patching out the method 'testIntersectionUsesMethodEquals' - which fails.
I'll try to debug this on monday.
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.
(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.
Please CC back ppc if the arch team has anything to do here.
Java support on ppc has been dropped: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43d2c01dc453381059153dc66abf6ef5ce97503