Re: New to Jenkins - need help

2012-12-06 Thread Ivan Kharin

>
>
> One possible configuration is : one Jenkins jobs for each library, one 
> Jenkins jobs for each product.
> Then, for each library :
> - Poll SCM to check if changes happened
> - Build the library
> - Trigger the builds of the product that relie on this library.
>
> For each product :
> - Retrieve the libraries artifacts from the libraries jobs
> - Compile the product
> You can configure the products to prevent a job to run while a library it 
> depends upon is building (advanced project option - do not build when 
> upstream project is building)
>
 
Sorry, but this solution does not suit me.
Assembling one product can take about an hour.
Last duration for some libraries: 9 min, 14 min, 26 min, 33 min

I want to run the assembly of the product on demand - and with all the 
necessary libraries must be updated.

But I can not afford to build all libraries prior to building of the 
product.
And I can not afford the rebuilding of products at each change in libraries.


Re: New to Jenkins - need help

2012-12-06 Thread Josselin Pierre
Hi,

Usually, it's done the other way round.
One possible configuration is : one Jenkins jobs for each library, one
Jenkins jobs for each product.
Then, for each library :
- Poll SCM to check if changes happened
- Build the library
- Trigger the builds of the product that relie on this library.

For each product :
- Retrieve the libraries artifacts from the libraries jobs
- Compile the product
You can configure the products to prevent a job to run while a library it
depends upon is building (advanced project option - do not build when
upstream project is building)



2012/12/7 Bharathi Ramalingam 

>
> You should take a look at SCM poll and build trigger when scm changes.
>
> On Friday, December 7, 2012 11:06:08 AM UTC+5:30, Ivan Kharin wrote:
>>
>> I'm new to Jenkins.
>> I have 20 libraries as separate jobs.
>> And 15 products, each of which depends on a subset of these libraries.
>> I can not understand how I obtain needed result:
>> Before building the product, automatically start building only those
>> libraries that have been changed.
>> Is it possible to specify a condition for the Build Step "repository
>> changed"?
>>
>> ---
>> Regards,
>> Ivan Kharin
>>
>


How to upgrade custom built Jenkins along with my changes.

2012-12-06 Thread Bharathi Ramalingam


I want to build a custom Jenkins from source with some customizations. At 
the same time i dont want to miss latest updates or bug fixes. 
How could I upgrade a custom build Jenkins along with my changes too.

Thanks,


Re: New to Jenkins - need help

2012-12-06 Thread Bharathi Ramalingam

You should take a look at SCM poll and build trigger when scm changes.
On Friday, December 7, 2012 11:06:08 AM UTC+5:30, Ivan Kharin wrote:
>
> I'm new to Jenkins.
> I have 20 libraries as separate jobs.
> And 15 products, each of which depends on a subset of these libraries.
> I can not understand how I obtain needed result:
> Before building the product, automatically start building only those 
> libraries that have been changed.
> Is it possible to specify a condition for the Build Step "repository 
> changed"?
>
> ---
> Regards,
> Ivan Kharin
>


Re: Not able to load jenkins service due to plugin failure- Pls help

2012-12-06 Thread Bharathi Ramalingam
1. Stop running Jenkins service
2 Delete your-plugin.hpi and your-plugin.jpi from the  
/plugins/ directory.
3. Restart Jenkins

Now it should work fine.

On Friday, December 7, 2012 10:28:07 AM UTC+5:30, kapila narang wrote:
>
> Today more i came & found jenkins service is not starting up & giving 
> below failure. Havent installed any plugin  but its giving below error.
> can anyone help?
>
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:619)
>
> Caused by: com.thoughtworks.xstream.converters.ConversionException: 
> Invalid reference
>
>  Debugging information 
>
> reference   : ../scmInstance
>
> class   : hudson.model.FreeStyleBuild
>
> required-type   : hudson.scm.CVSSCM$TagAction
>
> path: 
> /build/actions/hudson.scm.CVSSCM$TagAction/outer-class
>
> line number : 23
>
> ---
>
> at 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:56)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
>
> at 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332)
>
> at 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274)
>
> at 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
>
> at 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
>
> at 
> com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
>
> at 
> hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85)
>
> at 
> com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
>
> at 
> hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
>
> at 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
>
> at 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332)
>
> at 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274)
>
> at 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
>
> at 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
>
> at 
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
>
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926)
>
> at hudson.util.XStream2.unmarshal(XStream2.java:103)
>
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
>
> at hudson.XmlFile.unmarshal(XmlFile.java:160)
>
> ... 38 more
>
> Dec 7, 2012 10:21:22 AM hudson.util.RobustReflectionConverter doUnmarshal
>
> WARNING: Skipping a non-existent field scmInstance
>
> com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: 
> No such field hudson.scm.CVSSCM$TagAction.scmInstance
>
> at 
> com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106)
>
> at 
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152)
>
> at 
> hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:398)
>
> at 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:270)
>
> at 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221)
>
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
>
> at 
> com.thoughtw

New to Jenkins - need help

2012-12-06 Thread Ivan Kharin
I'm new to Jenkins.
I have 20 libraries as separate jobs.
And 15 products, each of which depends on a subset of these libraries.
I can not understand how I obtain needed result:
Before building the product, automatically start building only those 
libraries that have been changed.
Is it possible to specify a condition for the Build Step "repository 
changed"?

---
Regards,
Ivan Kharin


Re: Build flow plugin parallel builds are not parallel

2012-12-06 Thread Mike Finneran
That was it.
Nicolas you found my problam -- thanks --
I had neglected to tick the "Execute concurrent builds if necessary" box on 
the jobs I wanted to have run in parallel.
 

On Wednesday, November 28, 2012 1:48:16 PM UTC-8, Mike Finneran wrote:
>
> When I execute the following build flow script on a cluster of four 
> identical nodes, only one node is used to execute all twelve instances of 
> "job-Build".
> If I pull that node, All instances are still build on only one node, just 
> the next node that is still on line.
> I would have thought that all four nodes would be used to execute the 
> "Job-Build" instances four at a time in parallel.
> Am I doing something wrong in the code?
> Also, I'm using the latest jenkins (build 1.492) and the latest build flow 
> plugin (build 0.6) 
>
> build("Job-Init");
> parallel (
> { build("Job-Build", JOB_NUMBER: "1") },
> { build("Job-Build", JOB_NUMBER: "2") },
> { build("Job-Build", JOB_NUMBER: "3") },
> { build("Job-Build", JOB_NUMBER: "4") },
> { build("Job-Build", JOB_NUMBER: "5") },
> { build("Job-Build", JOB_NUMBER: "6") },
> { build("Job-Build", JOB_NUMBER: "7") },
> { build("Job-Build", JOB_NUMBER: "8") },
> { build("Job-Build", JOB_NUMBER: "9") },
> { build("Job-Build", JOB_NUMBER: "10") },
> { build("Job-Build", JOB_NUMBER: "11") },
> { build("Job-Build", JOB_NUMBER: "12") },
> )
> build("Job-report");
>
>
>

Re: Build flow plugin parallel builds are not parallel

2012-12-06 Thread nicolas de loof
Do you have this job configured to allow concurrent execution ?

this is not a restriction for the build-flow plugin : this one only
schedule jobs, but execution depends on jenkins build queue management and
related job configuration

2012/12/7 Glenn McElhoe 

> I noticed this problem as well.  If you run parallel build of the same
> job, it doesn't work.
>
> My workaround was to make 12 jobs (Job-Build-1 through Job-Build-12), and
> it will call them in parallel.
>


Re: Build flow plugin parallel builds are not parallel

2012-12-06 Thread Glenn McElhoe
I noticed this problem as well.  If you run parallel build of the same job, 
it doesn't work.

My workaround was to make 12 jobs (Job-Build-1 through Job-Build-12), and 
it will call them in parallel.


iOS App changes not being applied - does the Jenkin's XCode plugin cache build results?

2012-12-06 Thread Martin
I've got a situation where changes made to the source code of an iOS XCode 
project are not being applied to the build application.

BUT source code changes are being picked up on, but the result of that is 
not being applied to the resulting application package. Let me try to 
explain further - suppose I build and install my app, then I make a very 
obvious change (such as a logging statement, a dialog appearing, or even a 
deliberate exception) then rebuild and re-install the app, then when the 
application is run these changes are not present. Consider this relevant 
points:

1) If I add a deliberate syntax error into the source code then the build 
fails at the error line - this proves Jenkins is picking up the changes to 
the source code and compiling it.
2) If I build the application from within Xcode rather than Jenkins and 
install it then changes do appear.

I tried to reproduce this by creating a new application from the Xcode 
templates project but was unable to, however it was not a full reproduction 
because that was just a project whereas my app is a workspace containing a 
library and a project.
I've been investigating this non-stop for 8 hours and am convinced that 
Jenkins, or probably I suspect the Jenkins XCode plugin must be using an 
old cached version of a build. I suspect the fact that the workspace 
contains a static library has some relevance to this - I have noticed that 
XCode itself does not detect source code changes to a library unless the 
project is first cleaned before building. But as my point 1) above shows, 
source changes are being picked up by Jenkins.

Something which adds to the mystery is if I delete the contents of the 
directly where the build output is placed, then rebuild, then the 
timestamps of app created by the build is current, its just that the 
changes aren't present when the app is installed.

Has anybody used the XCode plugin and has experienced something similar?


Re: FTP publisher plugin appears to succeed, but files are not on the destination machine???

2012-12-06 Thread Bap
Steve K  wrote:

>
>How do I set the "Verbose output in console" option for the Publish
>Over 
>FTP Plugin?
>
>Certainly, the primary objective is to successfully use ftp to copy the
>
>files to the desired location. When the ftp fails, however, do you
>agree 
>that the "Publish Over FTP Plugin" should throw an error?
>
>Thank you.
>
>Steve K.

Yes, I agree. However, the plugin acts on the response from the server. If the 
server says ok, then all is well (report the issue to the server admin) if the 
server returns a failure code then create a bug report in the Jenkins issue 
tracker (including the verbose console output) and I'll take a look at it.

Note that some people setup servers that allow you to put files on them, but 
not get or even list them!

Bap.




Re: Redeploy the old artifacts

2012-12-06 Thread Christopher Orr
Yeah, if you didn't enable "Archive the artifacts" in the old builds, 
i.e. you don't have the WAR file (or whatever it is you want to deploy), 
you'd have to take the approach of re-checking out the source, building 
and then doing whatever deployment steps you want.


But if you *did* archive the previous artifacts you could redploy them 
from another job as follows:


Install the Copy Artifact plugin.

Create a new job, enable "This build is parameterized", and add a "Build 
selector for Copy Artifact".  Call it "BUILD_TO_DEPLOY", for example. 
Choose "Specific build" and leave the build number empty (or enter a 
default, like "1").


Add a new build step: Copy artifacts from another project.  Enter the 
project name you want to copy the WAR file from.  For "Which build", 
choose "Specified by a build parameter" and as the name enter 
"BUILD_TO_DEPLOY".  Under artifacts to copy, enter "**/*.war".


Now whenever you run this job, you will have the previously built WAR 
files from whichever previous build you want, allowing you can deploy 
them however you like (e.g. "Publish over SSH" or "WebLogic Deployer" 
plugins).


Regards,
Chris


On 06/12/12 17:10, Jerry wrote:

Hi, Anba. Unless you had already set something up beforehand, it will
not be possible to deploy old builds. Jenkins typically generates
artifacts inside a workspace, and that same workspace is re-used every
time a new build is run. Thus the old artifacts are overwritten.

What you /could/ do is direct Jenkins to clone/update the source in such
a way that it's updating to the same changeset from which build 1 was
produced, then run a new build. Theoretically, this will give you an
artifact equivalent to the one built in build 1.

What are you using for source control?

-- Jerry




On Wednesday, December 5, 2012 9:46:14 PM UTC-5, Anba wrote:

Dear Friends,

I'm new to CI and Jenkins. Here i want to deploy the old artifacts
into servers. For example i have done 10 builds and deploy those
build into servers.

Here i want select very 1st build and deploy into server(with old
source code). Is this possible to achieve . if so could please help
me how to do this.

I'm using maven,svn,weblogic for my J2ee project.

Thanks
Anba





Re: Build ERROR

2012-12-06 Thread El alaoui Mohamed Reda
on local it's okey but in JEKINS also the same problem :(

2012/12/6 Jeff Williams 

> For your local build, write:
>
> export MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=512m'
>
> then run the build as normal (again, check the numbers for your
> environment)
>
> For jenkins, follow my instructions below.
>
> Jeff
>
> On Dec 6, 2012, at 3:52 PM, El alaoui Mohamed Reda wrote:
>
> non i have the same problem also :( in jenkins and in the local Build in
> the directory of project
>
> 2012/12/6 Jeff Williams 
>
>> You are running out of PermGen space!
>>
>> try adding something like:
>>
>> -Xmx1024m -XX:MaxPermSize=512m
>>
>> to the Maven Project Configuration on the Manage Jenkins > Configure
>> System page
>>
>> 
>> Where:
>> -Xmx give the maximum heap size, and
>> -XX:MaxPermSize increases the size of the PermGen space
>>
>> You can look up and configure these as applicable for your environment
>>
>> Jeff
>>
>>
>> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
>>
>> whts the RAM size of your server?
>> may be you can chk by setting heap size.
>>
>> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>>>
>>> hello
>>>
>>> i have a probleme with JENKINS it's a new installation when i do some
>>> test with a meven code source 2.2.1 and 2.2.2
>>>
>>> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>>>
>>> but when i make : mvn clean install i have this error :
>>>
>>> The same Error in local Build and in Jenkins
>>>
>>> thnks
>>>
>>> ERROR] BUILD FAILURE[INFO] 
>>> --**--**
>>> [INFO] Compilation failure
>>> Failure executing javac, but could not parse the error:
>>>
>>>
>>> The system is out of resources.
>>> Consult the following stack trace for details.
>>> java.lang.OutOfMemoryError: PermGen space
>>> 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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
>>> at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
>>> at 
>>> com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
>>> at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
>>> at 
>>> com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
>>> at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>> at 
>>> com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
>>> at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
>>> at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
>>> at 
>>> com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
>>> at 
>>> com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:353)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:279)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:270)
>>> at com.sun.tools.javac.Main.**compile(Main.java:87)
>>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>> at 
>>> sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMethodAccessorImpl.java:**39)
>>>
>>>
>>> [INFO] 
>>> --**--**
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> --**--**
>>> [INFO] Total time: 2 minutes 27 seconds
>>> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
>>> [INFO] Final Memory: 52M/259M
>>> [INFO] 
>>> --**--**
>>> Build step 'Invoquer les cibles Maven de haut n

Re: Redeploy the old artifacts

2012-12-06 Thread Jerry
Hi, Anba. Unless you had already set something up beforehand, it will not 
be possible to deploy old builds. Jenkins typically generates artifacts 
inside a workspace, and that same workspace is re-used every time a new 
build is run. Thus the old artifacts are overwritten.

What you *could* do is direct Jenkins to clone/update the source in such a 
way that it's updating to the same changeset from which build 1 was 
produced, then run a new build. Theoretically, this will give you an 
artifact equivalent to the one built in build 1.

What are you using for source control?

-- Jerry




On Wednesday, December 5, 2012 9:46:14 PM UTC-5, Anba wrote:
>
> Dear Friends, 
>
> I'm new to CI and Jenkins. Here i want to deploy the old artifacts into 
> servers. For example i have done 10 builds and deploy those build into 
> servers. 
>
> Here i want select very 1st build and deploy into server(with old source 
> code). Is this possible to achieve . if so could please help me how to do 
> this. 
>
> I'm using maven,svn,weblogic for my J2ee project. 
>
> Thanks 
> Anba  
>
>

Re: Problems with Windows Slaves: hudson.util.IOException2: remote file operation failed

2012-12-06 Thread Jerry
Hi, Joshua. When using the JNLP connection, I have found that we have 
gotten cryptic messages similar to this when the connection is lost. The 
JNLP connection is much more fragile than SSH, and if there is even a minor 
interruption in network connection, everything might go kablooey and give 
you weird errors.

Can you install OpenSSH or another SSH server (we use Bitvise here) on your 
Windows slave and see if that resolves the problem? I can't guarantee that 
it will, but using an SSH connection will have other benefits (most 
especially more reliability), so it's not wasted time in any case.

-- Jerry



On Wednesday, December 5, 2012 10:09:49 AM UTC-5, Joshua Boyd wrote:
>
> I am running Jenkins 1.480.1 on a Linux server.  I have an XP slave for 
> running browser tests.  The slave is launched by javaws pointed at the 
> jnlp URL given in the master in a batch file in the startup folder. 
>
> For the last couple of nights, starting sometime between 12:00 and 1:00 
> AM until sometime mid to late morning, every run of both jobs that use 
> the slaves gives the output pasted at the bottom. Rebooting the slave 
> doesn't fix the issue. 
>
> The lines that stand out to me the most are "hudson.util.IOException2: 
> remote file operation failed:" (and the path referred to in that line 
> does exist still), and "Caused by: java.io.InvalidClassException: 
> hudson.FilePath; local class incompatible: stream classdesc 
> serialVersionUID = 1, local class serialVersionUID = 
> -8164662025349363814".  I take that later error as an indication there 
> is a version mis-match, but I don't know why that would be since the 
> client code is loaded off of the master server. 
>
> I could really use some help. 
>
> Start of consoleText: 
>
> Started by timer 
> Building remotely on shamus-test in workspace 
> c:\shamus\workspace\Chrome_Selenium_bunit 
> hudson.util.IOException2: remote file operation failed: 
> c:\shamus\workspace\Chrome_Selenium_bunit at 
> hudson.remoting.Channel@424de67:shamus-test 
> at hudson.FilePath.act(FilePath.java:838) 
> at hudson.FilePath.act(FilePath.java:824) 
> at hudson.FilePath.mkdirs(FilePath.java:890) 
> at 
> hudson.model.AbstractProject.checkout(AbstractProject.java:1254) 
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
>  
>
> at 
> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) 
>
> at hudson.model.Run.execute(Run.java:1502) 
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
> at 
> hudson.model.ResourceController.execute(ResourceController.java:88) 
> at hudson.model.Executor.run(Executor.java:236) 
> Caused by: java.io.InvalidClassException: hudson.FilePath; local class 
> incompatible: stream classdesc serialVersionUID = 1, local class 
> serialVersionUID = -8164662025349363814 
> at java.io.ObjectStreamClass.initNonProxy(Unknown Source) 
> at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) 
> at java.io.ObjectInputStream.readClassDesc(Unknown Source) 
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 
> at java.io.ObjectInputStream.readObject0(Unknown Source) 
> at java.io.ObjectInputStream.defaultReadFields(Unknown Source) 
> at java.io.ObjectInputStream.readSerialData(Unknown Source) 
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 
> at java.io.ObjectInputStream.readObject0(Unknown Source) 
> at java.io.ObjectInputStream.defaultReadFields(Unknown Source) 
> at java.io.ObjectInputStream.readSerialData(Unknown Source) 
> at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 
> at java.io.ObjectInputStream.readObject0(Unknown Source) 
> at java.io.ObjectInputStream.readObject(Unknown Source) 
> at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) 
> at hudson.remoting.UserRequest.perform(UserRequest.java:98) 
> at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
> at hudson.remoting.Request$2.run(Request.java:326) 
> at 
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
>  
>
> at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
> at java.util.concurrent.FutureTask.run(Unknown Source) 
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
> Source) 
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
> Source) 
> at hudson.remoting.Engine$1$1.run(Engine.java:60) 
> at java.lang.Thread.run(Unknown Source) 
> Recording test results 
> ERROR: Failed to archive test reports 
> hudson.util.IOException2: remote file operation failed: 
> c:\shamus\workspace\Chrome_Selenium_bunit at

Re: Build ERROR

2012-12-06 Thread Jeff Williams
For your local build, write:

export MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=512m'

then run the build as normal (again, check the numbers for your environment)

For jenkins, follow my instructions below.

Jeff

On Dec 6, 2012, at 3:52 PM, El alaoui Mohamed Reda wrote:

> non i have the same problem also :( in jenkins and in the local Build in the 
> directory of project 
> 
> 2012/12/6 Jeff Williams 
> You are running out of PermGen space!
> 
> try adding something like:
> 
> -Xmx1024m -XX:MaxPermSize=512m
> 
> to the Maven Project Configuration on the Manage Jenkins > Configure System 
> page
> 
> 
> Where:
> -Xmx give the maximum heap size, and
> -XX:MaxPermSize increases the size of the PermGen space
> 
> You can look up and configure these as applicable for your environment
> 
> Jeff
> 
> 
> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
> 
>> whts the RAM size of your server?
>> may be you can chk by setting heap size.
>> 
>> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>> hello
>> 
>> i have a probleme with JENKINS it's a new installation when i do some test 
>> with a meven code source 2.2.1 and 2.2.2
>> 
>> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>> 
>> but when i make : mvn clean install i have this error :
>> 
>> The same Error in local Build and in Jenkins
>> 
>> thnks
>> 
>> ERROR] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>> 
>> 
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: PermGen space
>>  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.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>>  at 
>> com.sun.tools.javac.util.DefaultFileManager$ZipFileIndexArchive.getFileObject(DefaultFileManager.java:1656)
>>  at 
>> com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:333)
>>  at 
>> com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:852)
>>  at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2123)
>>  at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
>>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>>  at 
>> com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:495)
>>  at 
>> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
>>  at 
>> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
>>  at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
>>  at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>>  at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
>>  at com.sun.tools.javac.comp.Enter.complete(Enter.java:464)
>>  at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
>>  at 
>> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
>>  at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>>  at com.sun.tools.javac.main.Main.compile(Main.java:353)
>>  at com.sun.tools.javac.main.Main.compile(Main.java:279)
>>  at com.sun.tools.javac.main.Main.compile(Main.java:270)
>>  at com.sun.tools.javac.Main.compile(Main.java:87)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> 
>> 
>> [INFO] 
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] 
>> 
>> [INFO] Total time: 2 minutes 27 seconds
>> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
>> [INFO] Final Memory: 52M/259M
>> [INFO] 
>> 
>> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
>> Finished: FAILURE
>> 
>> 
>> 
> 
> 
> 
> 
> -- 
> Mohamed Reda, El alaoui
> 
> 
> 
> 



Re: Build ERROR

2012-12-06 Thread El alaoui Mohamed Reda
non i have the same problem also :( in jenkins and in the local Build in
the directory of project

2012/12/6 Jeff Williams 

> You are running out of PermGen space!
>
> try adding something like:
>
> -Xmx1024m -XX:MaxPermSize=512m
>
> to the Maven Project Configuration on the Manage Jenkins > Configure
> System page
>
> Where:
> -Xmx give the maximum heap size, and
> -XX:MaxPermSize increases the size of the PermGen space
>
> You can look up and configure these as applicable for your environment
>
> Jeff
>
>
> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
>
> whts the RAM size of your server?
> may be you can chk by setting heap size.
>
> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>>
>> hello
>>
>> i have a probleme with JENKINS it's a new installation when i do some
>> test with a meven code source 2.2.1 and 2.2.2
>>
>> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>>
>> but when i make : mvn clean install i have this error :
>>
>> The same Error in local Build and in Jenkins
>>
>> thnks
>>
>> ERROR] BUILD FAILURE[INFO] 
>> --**--**
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>>
>>
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: PermGen space
>>  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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
>>  at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
>>  at 
>> com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
>>  at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
>>  at 
>> com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
>>  at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>  at 
>> com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
>>  at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
>>  at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
>>  at 
>> com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
>>  at 
>> com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:353)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:279)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:270)
>>  at com.sun.tools.javac.Main.**compile(Main.java:87)
>>  at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>  at 
>> sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMethodAccessorImpl.java:**39)
>>
>>
>> [INFO] 
>> --**--**
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] 
>> --**--**
>> [INFO] Total time: 2 minutes 27 seconds
>> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
>> [INFO] Final Memory: 52M/259M
>> [INFO] 
>> --**--**
>> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
>> Finished: FAILURE
>>
>>
>>
>>
>>
>


-- 

 *Mohamed Reda, El alaoui*

*
*
<>

Re: Build ERROR

2012-12-06 Thread El alaoui Mohamed Reda
i think that i must changing the jvm configuration for the memory but how
can i do it ?

2012/12/6 El alaoui Mohamed Reda 

> how can i do it please ?
>
>  i have  Ubuntu/Linaro 4.6.3-1ubuntu5)
> and JAVA :
>
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
>
>
>
>
>
> 2012/12/6 Scott Evans 
>
>> The amount of memory you have physically installed is completely
>> different than the amount of memory the java process is allowed to allocate
>> & use.  Changing the settings as outlined below will give your java process
>> more memory to work with.
>>
>> Scott
>>
>>
>> On Thu, Dec 6, 2012 at 8:34 AM, El alaoui Mohamed Reda <
>> inforedas...@gmail.com> wrote:
>>
>>> thanks for answer :
>>>
>>> i have 2 G Ram
>>>
>>> for Jeff i have the same problem when i start the build in my vm (in
>>> local)
>>>
>>>
>>>
>>>
>>> 2012/12/6 Jeff Williams 
>>>
 You are running out of PermGen space!

 try adding something like:

 -Xmx1024m -XX:MaxPermSize=512m

 to the Maven Project Configuration on the Manage Jenkins > Configure
 System page

 Where:
 -Xmx give the maximum heap size, and
 -XX:MaxPermSize increases the size of the PermGen space

 You can look up and configure these as applicable for your environment

 Jeff


 On Dec 6, 2012, at 3:16 PM, japinder gill wrote:

 whts the RAM size of your server?
 may be you can chk by setting heap size.

 On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>
> hello
>
> i have a probleme with JENKINS it's a new installation when i do some
> test with a meven code source 2.2.1 and 2.2.2
>
> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>
> but when i make : mvn clean install i have this error :
>
> The same Error in local Build and in Jenkins
>
> thnks
>
> ERROR] BUILD FAILURE[INFO] 
> --**--**
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>   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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
>   at 
> com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
>   at 
> com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
>   at 
> com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
>   at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
>   at 
> com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
>   at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>   at 
> com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
>   at 
> com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
>   at 
> com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
>   at 
> com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
>   at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>   at 
> com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
>   at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
>   at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
>   at 
> com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
>   at 
> com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
>   at com.sun.tools.javac.main.Main.**compile(Main.java:353)
>   at com.sun.tools.javac.main.Main.**compile(Main.java:279)
>   at com.sun.tools.javac.main.Main.**compile(Main.java:270)
>   at com.sun.tools.javac.Main.**compile(Main.java:87)
>   at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>   at 
> sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMeth

Re: Build ERROR

2012-12-06 Thread El alaoui Mohamed Reda
how can i do it please ?

 i have  Ubuntu/Linaro 4.6.3-1ubuntu5)
and JAVA :

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)




2012/12/6 Scott Evans 

> The amount of memory you have physically installed is completely different
> than the amount of memory the java process is allowed to allocate & use.
> Changing the settings as outlined below will give your java process more
> memory to work with.
>
> Scott
>
>
> On Thu, Dec 6, 2012 at 8:34 AM, El alaoui Mohamed Reda <
> inforedas...@gmail.com> wrote:
>
>> thanks for answer :
>>
>> i have 2 G Ram
>>
>> for Jeff i have the same problem when i start the build in my vm (in
>> local)
>>
>>
>>
>>
>> 2012/12/6 Jeff Williams 
>>
>>> You are running out of PermGen space!
>>>
>>> try adding something like:
>>>
>>> -Xmx1024m -XX:MaxPermSize=512m
>>>
>>> to the Maven Project Configuration on the Manage Jenkins > Configure
>>> System page
>>>
>>> Where:
>>> -Xmx give the maximum heap size, and
>>> -XX:MaxPermSize increases the size of the PermGen space
>>>
>>> You can look up and configure these as applicable for your environment
>>>
>>> Jeff
>>>
>>>
>>> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
>>>
>>> whts the RAM size of your server?
>>> may be you can chk by setting heap size.
>>>
>>> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:

 hello

 i have a probleme with JENKINS it's a new installation when i do some
 test with a meven code source 2.2.1 and 2.2.2

 when i make mvn clean install -Dmaven.test.skip=true the Build it's OK

 but when i make : mvn clean install i have this error :

 The same Error in local Build and in Jenkins

 thnks

 ERROR] BUILD FAILURE[INFO] 
 --**--**
 [INFO] Compilation failure
 Failure executing javac, but could not parse the error:


 The system is out of resources.
 Consult the following stack trace for details.
 java.lang.OutOfMemoryError: PermGen space
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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
at 
 com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
at 
 com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
at 
 com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
at 
 com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
at 
 com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
at 
 com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
at 
 com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
at 
 com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
at 
 com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
at 
 com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
at 
 com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.**compile(Main.java:353)
at com.sun.tools.javac.main.Main.**compile(Main.java:279)
at com.sun.tools.javac.main.Main.**compile(Main.java:270)
at com.sun.tools.javac.Main.**compile(Main.java:87)
at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
at 
 sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMethodAccessorImpl.java:**39)


 [INFO] 
 --**--**
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 

Re: Build ERROR

2012-12-06 Thread Scott Evans
The amount of memory you have physically installed is completely different
than the amount of memory the java process is allowed to allocate & use.
Changing the settings as outlined below will give your java process more
memory to work with.

Scott

On Thu, Dec 6, 2012 at 8:34 AM, El alaoui Mohamed Reda <
inforedas...@gmail.com> wrote:

> thanks for answer :
>
> i have 2 G Ram
>
> for Jeff i have the same problem when i start the build in my vm (in local)
>
>
>
>
> 2012/12/6 Jeff Williams 
>
>> You are running out of PermGen space!
>>
>> try adding something like:
>>
>> -Xmx1024m -XX:MaxPermSize=512m
>>
>> to the Maven Project Configuration on the Manage Jenkins > Configure
>> System page
>>
>> Where:
>> -Xmx give the maximum heap size, and
>> -XX:MaxPermSize increases the size of the PermGen space
>>
>> You can look up and configure these as applicable for your environment
>>
>> Jeff
>>
>>
>> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
>>
>> whts the RAM size of your server?
>> may be you can chk by setting heap size.
>>
>> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>>>
>>> hello
>>>
>>> i have a probleme with JENKINS it's a new installation when i do some
>>> test with a meven code source 2.2.1 and 2.2.2
>>>
>>> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>>>
>>> but when i make : mvn clean install i have this error :
>>>
>>> The same Error in local Build and in Jenkins
>>>
>>> thnks
>>>
>>> ERROR] BUILD FAILURE[INFO] 
>>> --**--**
>>> [INFO] Compilation failure
>>> Failure executing javac, but could not parse the error:
>>>
>>>
>>> The system is out of resources.
>>> Consult the following stack trace for details.
>>> java.lang.OutOfMemoryError: PermGen space
>>> 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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
>>> at 
>>> com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
>>> at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
>>> at 
>>> com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
>>> at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
>>> at 
>>> com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
>>> at 
>>> com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
>>> at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>> at 
>>> com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
>>> at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
>>> at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
>>> at 
>>> com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
>>> at 
>>> com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:353)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:279)
>>> at com.sun.tools.javac.main.Main.**compile(Main.java:270)
>>> at com.sun.tools.javac.Main.**compile(Main.java:87)
>>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>> at 
>>> sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMethodAccessorImpl.java:**39)
>>>
>>>
>>> [INFO] 
>>> --**--**
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> --**--**
>>> [INFO] Total time: 2 minutes 27 seconds
>>> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
>>> [INFO] Final Memory: 52M/259M
>>> [INFO] 
>>> --**--**
>>> Build step 'Invoquer les cibles Maven de haut niveau' marked 

Re: Build ERROR

2012-12-06 Thread El alaoui Mohamed Reda
thanks for answer :

i have 2 G Ram

for Jeff i have the same problem when i start the build in my vm (in local)




2012/12/6 Jeff Williams 

> You are running out of PermGen space!
>
> try adding something like:
>
> -Xmx1024m -XX:MaxPermSize=512m
>
> to the Maven Project Configuration on the Manage Jenkins > Configure
> System page
>
> Where:
> -Xmx give the maximum heap size, and
> -XX:MaxPermSize increases the size of the PermGen space
>
> You can look up and configure these as applicable for your environment
>
> Jeff
>
>
> On Dec 6, 2012, at 3:16 PM, japinder gill wrote:
>
> whts the RAM size of your server?
> may be you can chk by setting heap size.
>
> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>>
>> hello
>>
>> i have a probleme with JENKINS it's a new installation when i do some
>> test with a meven code source 2.2.1 and 2.2.2
>>
>> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>>
>> but when i make : mvn clean install i have this error :
>>
>> The same Error in local Build and in Jenkins
>>
>> thnks
>>
>> ERROR] BUILD FAILURE[INFO] 
>> --**--**
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>>
>>
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: PermGen space
>>  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.compiler.**javac.IsolatedClassLoader.**loadClass(IsolatedClassLoader.**java:56)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager$**ZipFileIndexArchive.**getFileObject(**DefaultFileManager.java:1656)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager.**listDirectory(**DefaultFileManager.java:333)
>>  at 
>> com.sun.tools.javac.util.**DefaultFileManager.list(**DefaultFileManager.java:852)
>>  at com.sun.tools.javac.jvm.**ClassReader.fillIn(**ClassReader.java:2123)
>>  at 
>> com.sun.tools.javac.jvm.**ClassReader.complete(**ClassReader.java:1781)
>>  at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.visitTopLevel(**MemberEnter.java:495)
>>  at 
>> com.sun.tools.javac.tree.**JCTree$JCCompilationUnit.**accept(JCTree.java:446)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.memberEnter(**MemberEnter.java:387)
>>  at 
>> com.sun.tools.javac.comp.**MemberEnter.complete(**MemberEnter.java:819)
>>  at com.sun.tools.javac.code.**Symbol.complete(Symbol.java:**386)
>>  at 
>> com.sun.tools.javac.code.**Symbol$ClassSymbol.complete(**Symbol.java:763)
>>  at com.sun.tools.javac.comp.**Enter.complete(Enter.java:464)
>>  at com.sun.tools.javac.comp.**Enter.main(Enter.java:442)
>>  at 
>> com.sun.tools.javac.main.**JavaCompiler.enterTrees(**JavaCompiler.java:819)
>>  at 
>> com.sun.tools.javac.main.**JavaCompiler.compile(**JavaCompiler.java:727)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:353)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:279)
>>  at com.sun.tools.javac.main.Main.**compile(Main.java:270)
>>  at com.sun.tools.javac.Main.**compile(Main.java:87)
>>  at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>  at 
>> sun.reflect.**NativeMethodAccessorImpl.**invoke(**NativeMethodAccessorImpl.java:**39)
>>
>>
>> [INFO] 
>> --**--**
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] 
>> --**--**
>> [INFO] Total time: 2 minutes 27 seconds
>> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
>> [INFO] Final Memory: 52M/259M
>> [INFO] 
>> --**--**
>> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
>> Finished: FAILURE
>>
>>
>>
>>
>>
>


-- 

 *Mohamed Reda, El alaoui*

*
*
<>

Re: Build ERROR

2012-12-06 Thread Jeff Williams
You are running out of PermGen space!

try adding something like:

-Xmx1024m -XX:MaxPermSize=512m

to the Maven Project Configuration on the Manage Jenkins > Configure System page


Where:
-Xmx give the maximum heap size, and
-XX:MaxPermSize increases the size of the PermGen space

You can look up and configure these as applicable for your environment

Jeff


On Dec 6, 2012, at 3:16 PM, japinder gill wrote:

> whts the RAM size of your server?
> may be you can chk by setting heap size.
> 
> On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
> hello
> 
> i have a probleme with JENKINS it's a new installation when i do some test 
> with a meven code source 2.2.1 and 2.2.2
> 
> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
> 
> but when i make : mvn clean install i have this error :
> 
> The same Error in local Build and in Jenkins
> 
> thnks
> 
> ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> 
> 
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>   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.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>   at 
> com.sun.tools.javac.util.DefaultFileManager$ZipFileIndexArchive.getFileObject(DefaultFileManager.java:1656)
>   at 
> com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:333)
>   at 
> com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:852)
>   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2123)
>   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:495)
>   at 
> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
>   at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>   at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
>   at com.sun.tools.javac.comp.Enter.complete(Enter.java:464)
>   at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
>   at 
> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
>   at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>   at com.sun.tools.javac.main.Main.compile(Main.java:353)
>   at com.sun.tools.javac.main.Main.compile(Main.java:279)
>   at com.sun.tools.javac.main.Main.compile(Main.java:270)
>   at com.sun.tools.javac.Main.compile(Main.java:87)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
> 
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 2 minutes 27 seconds
> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
> [INFO] Final Memory: 52M/259M
> [INFO] 
> 
> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
> Finished: FAILURE
> 
> 
> 

<>

Re: Build ERROR

2012-12-06 Thread japinder gill
whts the RAM size of your server?
may be you can chk by setting heap size.

On Thursday, December 6, 2012 7:01:05 PM UTC+5:30, Capfo wrote:
>
> hello
>
> i have a probleme with JENKINS it's a new installation when i do some test 
> with a meven code source 2.2.1 and 2.2.2
>
> when i make mvn clean install -Dmaven.test.skip=true the Build it's OK
>
> but when i make : mvn clean install i have this error :
>
> The same Error in local Build and in Jenkins
>
> thnks
>
> ERROR] BUILD FAILURE[INFO] 
> 
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>   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.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>   at 
> com.sun.tools.javac.util.DefaultFileManager$ZipFileIndexArchive.getFileObject(DefaultFileManager.java:1656)
>   at 
> com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:333)
>   at 
> com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:852)
>   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2123)
>   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:495)
>   at 
> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
>   at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
>   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
>   at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:763)
>   at com.sun.tools.javac.comp.Enter.complete(Enter.java:464)
>   at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
>   at 
> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
>   at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>   at com.sun.tools.javac.main.Main.compile(Main.java:353)
>   at com.sun.tools.javac.main.Main.compile(Main.java:279)
>   at com.sun.tools.javac.main.Main.compile(Main.java:270)
>   at com.sun.tools.javac.Main.compile(Main.java:87)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
>
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 2 minutes 27 seconds
> [INFO] Finished at: Thu Dec 06 13:50:27 CET 2012
> [INFO] Final Memory: 52M/259M
> [INFO] 
> 
> Build step 'Invoquer les cibles Maven de haut niveau' marked build as failure
> Finished: FAILURE
>
>
>
>
>

Zero queue length for a label

2012-12-06 Thread Mandeville, Rob
I'm running Jenkins 1.480 using the built-in Winstone container.  This runs on 
Java 7, on top of Linux.

I've set up twenty one-executor nodes and put them under a label called 
armada_5 (long story).  I then scheduled 35 jobs to run against that label that 
every night, all kicking off at the same time.

When I look at the load statistics for that label, I see three lines: green 
(total executors), red (busy executors), and grey (queue length).

The green line stays up at twenty, and the red line rises up to the green line 
rapidly and stays there for a while.  But the grey line stays at zero all night 
long, where I'm expecting it to go to fifteen and slowly drop from there.

Is this a known issue, and/or is there a known fix?

Thanks in advance,

--Rob Mandeville
  Litle & Co (part of the Vantiv family)

The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.


Re: issue with Chrome Version 23.0.1271.95

2012-12-06 Thread Slide
I am unable to replicate this. I grabbed the source from github and used
the tag for 1.492. I ran Jenkins and was able to add items to the builder
list. I am using the same version of chrome.


On Wed, Dec 5, 2012 at 8:27 PM, Kamal Ahmed wrote:

> i am getting the following in Javascript console when i do a pull down and
> try ot select :
>
> Add Build Step --> execute Shell
>
>
>
> http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
>
>1. POST
>
> http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render404
>  (Not Found)
>
> prototype.js:1585
>   1. 
> Ajax.Request.Class.create.requestprototype.js:1585
>   2. 
> Ajax.Request.Class.create.initializeprototype.js:1550
>   3. (anonymous 
> function)prototype.js:452
>   4. 
> klassprototype.js:101
>   5. proxy.(anonymous 
> function)bind.js:27
>   6. 
> renderOnDemandhudson-behavior.js:505
>   7. (anonymous 
> function)hetero-list.js:53
>   8. 
> YAHOO.util.CustomEvent.notifyevent-min.js:7
>   9. 
> YAHOO.util.CustomEvent.fireevent-min.js:7
>   10. 
> emenu-min.js:7
>   11. 
> nevent-min.js:7
>
>
>   --
> *From:* Alex Earl 
> *To:* Kamal Ahmed ; "
> jenkinsci-users@googlegroups.com" 
> *Sent:* Wednesday, December 5, 2012 9:10 PM
> *Subject:* RE: issue with Chrome Version 23.0.1271.95
>
> Any errors on the JavaScript console?
>
> Sent from my Windows Phone
> --
> From: Kamal Ahmed
> Sent: 12/5/2012 6:55 PM
> To: jenkinsci-users@googlegroups.com
> Subject: issue with Chrome Version 23.0.1271.95
>
> There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down
> Menu Items stop working in a project.
> I was not able to create "Execute Shell". I then switched over to Firefox,
> and the same version of Jenkins  1.492 , works
> Just thought to let you guys know.
> -Kamal.
>
>
>


-- 
Website: http://earl-of-code.com