commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stian Soiland-Reyes <st...@apache.org>
Subject Re: Build failed in Jenkins: commons-beanutils #17
Date Thu, 17 Nov 2016 16:16:56 GMT
Sorry for not spotting this before,

Don't worry Gary, I think this is my fault that failed the build back
since Jenkins build job 14.. if the jacoco-maven-plugin is not
activated the ${argLine} property is not set - but we need to pass
that along to the forked surefire tests which adds -Xmx49M.

In http://central.maven.org/maven2/org/apache/commons/commons-parent/41/commons-parent-41.pom
it says

> Note that since JaCoCo relies on an agent to perform tests, it changes the surefire arguments
line. If a component also needs to change the argument line of maven-surefire-plugin, then
it must add ${argLine} property (which is set by JaCoCo) in the argLine configuration element
of maven-surefire-plugin to preserve JaCoCo settings.

So I've added src/site/resources/profile.jacoco which seems to make
Jenkins happy again. I also enabled japicmp report (with the
ignoreMissingVersion parameter so "mvn site" still works).

 Apologies for the useless intermediate svn commits as 'git svn
dcommit' was catching up..

Jenkins log:
https://builds.apache.org/job/commons-beanutils/19/console




On 17 November 2016 at 00:42, Apache Jenkins Server
<jenkins@builds.apache.org> wrote:
> See <https://builds.apache.org/job/commons-beanutils/17/changes>
>
> Changes:
>
> [ggregory] Add starter TravisCI configuration. Will pick up Travis profile from new parent
module when released.
>
> ------------------------------------------
> [...truncated 1056 lines...]
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
> Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
> Caused by: java.lang.ClassNotFoundException: ${argLine}
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: ${argLine}.  Program will exit.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [JENKINS] Recording test results
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 38.554 s
> [INFO] Finished at: 2016-11-17T00:34:24+00:00
> [INFO] Final Memory: 33M/417M
> [INFO] ------------------------------------------------------------------------
> Waiting for Jenkins to finish collecting data
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test
(default-test) on project commons-beanutils: ExecutionException The forked VM terminated without
properly saying goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd <https://builds.apache.org/job/commons-beanutils/ws/>
&& /home/jenkins/tools/java/latest1.6/bin/java -Xmx49M '${argLine}' -jar <https://builds.apache.org/job/commons-beanutils/ws/target/surefire/surefirebooter3666605925594730864.jar>
<https://builds.apache.org/job/commons-beanutils/ws/target/surefire/surefire6659744902052208714tmp>
<https://builds.apache.org/job/commons-beanutils/ws/target/surefire/surefire_0173508163941142471tmp>
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoFailureException
> [JENKINS] Archiving <https://builds.apache.org/job/commons-beanutils/ws/pom.xml>
to commons-beanutils/commons-beanutils/1.9.4-SNAPSHOT/commons-beanutils-1.9.4-SNAPSHOT.pom
> Sending e-mails to: dev@commons.apache.org
> channel stopped
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>



-- 
Stian Soiland-Reyes
http://orcid.org/0000-0001-9842-9718

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


Mime
View raw message