test failures

68 views
Skip to first unread message

Arshad Khan

unread,
Mar 22, 2016, 2:43:38 AM3/22/16
to jenkin...@googlegroups.com
Hello,

I am getting some errors while running tests on jenkins ver 2.0 alpha-3. I have attached the log. Please help!

Best Regards,
Arshad
log.txt

Michael Neale

unread,
Mar 22, 2016, 3:02:09 AM3/22/16
to Jenkins Developers
Error: 

Caused by: java.lang.OutOfMemoryError: Java heap space

If you give maven more memory, or, use Java 8 to build (resultant code will run with java7 I believe, but building with java8 can be faster and usually less memory hassles)

export MAVEN_OPTS ="-Xmx2048m"

or something like that to give it enough space. Or perhaps your machine doesn't have enough room to build it? 

Baptiste Mathus

unread,
Mar 22, 2016, 5:09:34 PM3/22/16
to Jenkins Developers
FWIW, just filed https://github.com/jenkinsci/jenkins/pull/2162 to try and make that work OOTB in the future (that is, when people will be mostly using Maven 3.3.1+).

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f0709653-efd9-4987-a0cd-c945c180f0ee%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Neale

unread,
Mar 23, 2016, 6:13:43 PM3/23/16
to Jenkins Developers, m...@batmat.net
Looks like it has some challenges (building on windows is one of them). 

I have had much less hassles building with java8 on machines with varying amounts of ram (it's odd in 2016 to specify a ceiling up front, but here we are...)

James Nord

unread,
Mar 24, 2016, 11:37:42 AM3/24/16
to Jenkins Developers
This is the tests failing not maven and the amount of memory they are given is different to MAVEN_OPTS.

2.0 branch has some leaks somewhere that need to be fixed :(

Until the leak is found try tweaking this line and adding -Xmx1256

/James
Reply all
Reply to author
Forward
0 new messages