Hi,
so I have taken a look into the setup for Maven 2.2.1
where the memory settings look like this (which looks very similar to
the README.txt)...
-Xmx2g -Xms256m -XX:MaxPermSize=512m
Apart from that those build don't fail based on out of memory...
https://builds.apache.org/view/All/job/maven-surefire-mvn-2.2.1/ws/maven-failsafe-plugin/target/it/jetty-war-test-failing/build.log/*view*/
The following looks different:
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:485)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
... 20 more
Caused by: java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/maven/plugin/JettyStopMojo : Unsupported major.minor
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at
org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(URLClassSpace.java:101)
at org.sonatype.guice.bean.reflect.NamedClass.load(NamedClass.java:45)
at
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at
com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
at
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
... 21 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
Running post-build script:
/home/jenkins/jenkins-slave/workspace/maven-surefire-mvn-2.2.1/maven-failsafe-plugin/target/it/jetty-war-test-failing/verify.bsh
Could not find failsafe summary:
/home/jenkins/jenkins-slave/workspace/maven-surefire-mvn-2.2.1/maven-failsafe-plugin/target/it/jetty-war-test-failing/target/failsafe-reports/failsafe-summary.xml
Finished post-build script:
/home/jenkins/jenkins-slave/workspace/maven-surefire-mvn-2.2.1/maven-failsafe-plugin/target/it/jetty-war-test-failing/verify.bsh
The other IT's fails for the same reason:
https://builds.apache.org/view/All/job/maven-surefire-mvn-2.2.1/ws/maven-failsafe-plugin/target/it/jetty-war-test-passing/build.log/*view*/
Caused by: java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/maven/plugin/JettyStopMojo : Unsupported major.minor
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at
org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(URLClassSpace.java:101)
... 41 more
The windows builds show different memory setup:
-Xmx768m -Xms256m -XX:MaxPermSize=420m
But the reason for failing seemed to be an integration test:
https://builds.apache.org/view/All/job/maven-surefire-windows/org.apache.maven.surefire$surefire-integration-tests/738/testReport/junit/org.apache.maven.surefire.its/JUnit47ParallelIT/shutdown/
org.apache.maven.surefire.its.fixture.SurefireVerifierException:
org.apache.maven.it.VerificationException: Text not found in log: The
test run has finished abruptly after timeout of 2.5 seconds.
But if you like i can change the memory setup and rerun the builds to
check if it's based on the memory settings or something else...
Kind regards
Karl Heinz Marbaise
On 12/24/14 7:53 PM, tibor17 wrote:
Good question, this was our problem whole year.
I was asking Kristian about the same, and AFAIK this was related to the
machine itself. One can see OutOfMemoryError: PermGen space
As this wasn't my priviledge to fix the system setup, i was not able to make
more here.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org