Howdy Michael.

Yes, I use "export" for MAVEN_OPTS.

The noticeable difference is that I'm using JDK 1.5.

Is that no longer supported? I don't argue (any longer) that projects should keep JDK 1.4 compatibility, but I do think it is far too early to drop 1.5. In the case of Mac, those of us without Core 2 Duo can't get JDK 1.6 (from Apple anyhow).

Jim

Michael Groh wrote:

Hi,

I just built the trunk on a mac with no test failures, with the following settings:

$mvn -version
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "mac os x" version: "10.5.6" arch: "x86_64" Family: "mac"

$export MAVEN_OPTS="-Xmx512M"
$mvn clean install
[...]
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 38 seconds
[INFO] Finished at: Fri Mar 27 22:03:28 CET 2009
[INFO] Final Memory: 106M/294M

How did you pass the HeapMemory settings? With maven 2.0.9 you have to pass the opts like above, passing them directly does not work any more AFAIK. (I had a similar problem with another project recently)

cheers,
Michael

On Mar 27, 2009, at 8:24 PM, Jim White wrote:

Yeah, forgot to say the platform - it's Mac.

Just tried with mx512M, same results.

> mvn -version
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"

I'm also getting a failure with the /sling-test/sling/sling- test.html page. The testRemoveContent assertion fails ("data should be gone...")

...

Results :

Failed tests:
testRemoveAce (org .apache .sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest) testRemoveAces (org .apache .sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest) testModifyAceForUser (org .apache .sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest) testModifyAceForGroup (org .apache .sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest)

Tests run: 239, Failures: 4, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /Users/jim/Projects/Apache/sling-trunk/launchpad/ testing/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 11 seconds
[INFO] Finished at: Fri Mar 27 11:54:04 PDT 2009
[INFO] Final Memory: 78M/149M
[INFO] ------------------------------------------------------------------------
2009-03-27 11:54:05.040::INFO:  Shutdown hook executing
2009-03-27 11:54:05.040::WARN:  EXCEPTION
java.nio.channels.CancelledKeyException
    at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
    at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69)
at sun .nio .ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105)
    at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
    at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
at org.mortbay.io.nio.SelectorManager $SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java: 73) at org .mortbay .jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java: 120) at org.mortbay.jetty.AbstractConnector $Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool $PoolThread.run(BoundedThreadPool.java:475) 2009-03-27 11:54:06.094:/org.apache.sling.launchpad.testing-4- incubator-SNAPSHOT:INFO: sling: Sling has been stopped
2009-03-27 11:54:06.808::INFO:  Shutdown hook complete
[MacMini::~/Projects/Apache/sling-trunk]
>


Jim
Eric Norman wrote:

Hi Jim,
I ran a clean sync and build on two different machines (one winxp,  one
linux) and I was not able to reproduce this issue on either machine. All
the tests were passing for me.  Can anyone else reproduce this in  their
enviroments?
Maybe you are seeing the same thing that was reported here:
http://issues.apache.org/jira/browse/SLING-891
I was not able to reproduce the error reported in SLING-891 either, so maybe
there is something different about our build environments?
This is the linux environment that I just tested the build on:

mvn --version

Maven version: 2.0.9
Java version: 1.5.0_17
OS name: "linux" version: "2.6.27-11-generic" arch: "i386" Family: "unix"
On Thu, Mar 26, 2009 at 9:44 PM, Jim White <[email protected]>  wrote:

I get the following test failures with the trunk (r758703) :

Results :

Failed tests:


testRemoveAce (org .apache .sling .launchpad.webapp.integrationtest.accessManager.RemoveAcesTest)


testRemoveAces (org .apache .sling .launchpad.webapp.integrationtest.accessManager.RemoveAcesTest)


testModifyAceForUser (org .apache .sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest)


testModifyAceForGroup (org .apache .sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest)

Tests run: 239, Failures: 4, Errors: 0, Skipped: 0

Jim






Reply via email to