cannot start a jenkins slave

2013-02-19 Thread t . spitzer
I want to start a Jenkins ssh slave on our ARM target. Unfortunately 
unsuccessful.
Can anybody give a hint, how to fix this?

Here's the log:

[02/19/13 08:53:02] [SSH] Opening SSH connection to 10.49.48.55:22.
[02/19/13 08:53:03] [SSH] Authenticating as jenkins/**.
[02/19/13 08:53:03] [SSH] Authentication successful.
[02/19/13 08:53:03] [SSH] The remote users environment is:
HOME='/home/jenkins'
IFS='   
'
LOGNAME='jenkins'
MAIL='/var/mail/jenkins'
OPTIND='1'
PATH='/usr/bin:/bin:/usr/sbin:/sbin'
PPID='858'
PS1='\w \$ '
PS2=' '
PS4='+ '
PWD='/home/jenkins'
SHELL='/bin/sh'
SSH_CLIENT='10.49.48.56 36746 22'
SSH_CONNECTION='10.49.48.56 36746 10.49.48.55 22'
USER='jenkins'
[02/19/13 08:53:03] [SSH] Checking java version of java
[02/19/13 08:53:03] [SSH] java -version returned 1.5.0.
[02/19/13 08:53:03] [SSH] Starting sftp client.
[02/19/13 08:53:03] [SSH] Copying latest slave.jar...
[02/19/13 08:53:03] [SSH] Copied 284,160 bytes.
[02/19/13 08:53:03] [SSH] Starting slave process: cd '/home/jenkins'  java  
-jar slave.jar
===[JENKINS REMOTING CAPACITY]===channel started
ERROR: ERROR: Connection terminatedjava.io.WriteAbortedException 
http://stacktrace.jenkins-ci.org/search?query=java.io.WriteAbortedException: 
writing aborted; java.io.IOException: Unexpected exception 
java.lang.NullPointerException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject0entity=method
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.defaultReadFieldsentity=method
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readSerialDataentity=method
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readOrdinaryObjectentity=method
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject0entity=method
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1969) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.defaultReadFieldsentity=method
at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readSerialDataentity=method
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1776) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readOrdinaryObjectentity=method
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject0entity=method
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) 
http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObjectentity=method
at hudson.remoting.Command.readFrom(Command.java:92) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Command.readFromentity=method
at 
hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ClassicCommandTransport.readentity=method
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.SynchronousCommandTransport$ReaderThread.runentity=method
Caused by: java.io.IOException 
http://stacktrace.jenkins-ci.org/search?query=java.io.IOException: Unexpected 
exception java.lang.NullPointerException
Caused by: java.lang.NullPointerException 
http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerExceptionUnexpected
 error in launching a slave. This is probably a bug in 
Jenkins.hudson.remoting.RequestAbortedException 
http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.RequestAbortedException:
 hudson.remoting.RequestAbortedException: java.io.WriteAbortedException: 
writing aborted; java.io.IOException: Unexpected exception 
java.lang.NullPointerException
at hudson.remoting.Request.call(Request.java:174) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.callentity=method
at hudson.remoting.Channel.call(Channel.java:672) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.callentity=method
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:425) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.SlaveComputer.setChannelentity=method
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:339) 

Re: Unable to add new node (Windows slave) after upgrade to 1.500

2013-02-19 Thread Manjunath D G
Hi All,
I'm Able to connect Jenkins Windows Slave by using Launch Method as : 
Launch slave agent via Java web Start.

But not working with when i'm trying to use Let Jenkins control this 
windows slave as windows service.Provided with right Administrator user 
name,Password and  Host Name.

I don't see any problem with Jenkins slave which were configured before 
migration.They are still working even after migration.Only problem is with 
adding new windows slave.

Can some one help me on this
Regards,
Manju

On Thursday, February 14, 2013 5:03:19 PM UTC+5:30, Manjunath D G wrote:

 Hi,
 After my version upgrade from 1.427 to 1.500,I'm unable to add new 
 node.Getting 
  

 Connecting to 172.24.136.55
 Checking if Java exists
 java -version returned 1.7.0.
 Copying jenkins-slave.xml
 Copying slave.jar
 Starting the service

  

 And nothings happens.Do i need to install any new/ugrade specific plugins.

  

 Can some one please do let me know what and all i should post upgrade ofr 
 Jenkins version from 1.427 to 1.501.

  

 Thanks And Regards,

 Manju



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Frequent crashes

2013-02-19 Thread teilo
Presumably the service account under which Jenkins is running does not have 
write permissions in the system32 folder.

You may want to add 
“-XX:ErrorFile=c:\some\path\where\jenkins\can\write\hs_err_.log” to your 
Jenkins JVM startup options so that in the event of a crash the log can be 
found.  

It may be caused by a fault in the JDK - and you may want to submit a bug 
report to Oracle with this log file.

/James


On Monday, 18 February 2013 19:47:50 UTC, MDKF wrote:

 Hi Stuart,
  Thanks for the link. It has happened while viewing the console output, 
 but we don't have any slave machines, just two executors on the master. But 
 as in the bug report we don't have .log files either. 


 On Mon, Feb 18, 2013 at 2:40 PM, Stuart Whelan 
 stu...@somepointinthefuture.co.nz javascript: wrote:

 Could it be related to this:

 Jenkins master node crashes often when viewing console logs of builds on 
 slaves

 https://issues.jenkins-ci.org/browse/JENKINS-16528

 It happens to me maybe half a dozen times a day.

 It is causing us huge problems, I am about to rebuild our jenkins master 
 with a clean os to see if that fixes it.


 On Mon, Feb 18, 2013 at 11:44 AM, MDKF michael...@gmail.comjavascript: 
 wrote:
 
  Hi all,
   Jenkins keeps crashing randomly. There seems to be no particular 
 trigger. Any idea whats happening?
   
  Heres my log:
   
   
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(JENKINS_HOME)
  Jenkins home directory: C:\Program Files (x86)\Jenkins found at: 
 EnvVars.masterEnvVars.get(JENKINS_HOME)
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at: 
 EnvVars.masterEnvVars.get(JENKINS_HOME)
  return code: 0
  stderr:
  stdout: The command completed successfully.
 
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at: 
 EnvVars.masterEnvVars.get(JENKINS_HOME)
  return code: 0
  stderr:
  stdout: The command completed successfully.
 
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x018d1a23, pid=1516, 
 tid=3204
  #
  # JRE version: 6.0_39-b04
  # Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing 
 windows-x86 )
  # Problematic frame:
  # J 
  
 org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
  #
  # An error report file with more information is saved as:
  # C:\Windows\system32\hs_err_pid1516.log
  #
  # If you would like to submit a bug report, please visit:
  #   http://java.sun.com/webapps/bugreport/crash.jsp
  #
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at: 
 EnvVars.masterEnvVars.get(JENKINS_HOME)
  return code: 2
  stderr: System error 85 has occurred.
  The local device name is already in use.
 
  stdout:
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x0154dd23, pid=4728, 
 tid=4012
  #
  # JRE version: 6.0_39-b04
  # Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing 
 windows-x86 )
  # Problematic frame:
  # J 
  
 org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
  #
  # An error report file with more information is saved as:
  # C:\Windows\system32\hs_err_pid4728.log
  #
  # If you would like to submit a bug report, please visit:
  #   http://java.sun.com/webapps/bugreport/crash.jsp
  #
   
 
  --
  You received this message because you are subscribed to the Google 
 Groups Jenkins Users group.
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to jenkinsci-use...@googlegroups.com javascript:.
  For more options, visit https://groups.google.com/groups/opt_out.
   
   

  -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-use...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Training on Jenkins

2013-02-19 Thread Aswini Rajasekaran
Hi all,

Just wondering if there is any training available online on Jenkins 
Administration (I don't want any pdf)

Thanks,
Aswini

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: cannot start a jenkins slave

2013-02-19 Thread t . spitzer
There where two issues concerning this:

https://issues.jenkins-ci.org/browse/JENKINS-10751
https://issues.jenkins-ci.org/browse/JENKINS-10752

But they should be fixed, shouldn't they? I use Jenkins Version 1.502 on 
Ubuntu 12.04. 


On Tuesday, February 19, 2013 9:07:13 AM UTC+1, t.sp...@astade.de wrote:

 I want to start a Jenkins ssh slave on our ARM target. Unfortunately 
 unsuccessful.
 Can anybody give a hint, how to fix this?



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 02/18/2013 05:08 PM, Kamal Ahmed wrote:
 Hi,
 I setup 2 linux hosts with passwordless login, and git clone IP 
 Address:/extra/yte/www/repo/Dout.git
 works on command line, but when i use : IP 
 Address:/extra/yte/www/repo/Dout.git as repo URL, i get an error:
 
 Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
 Address:/extra/yte/www/repo/Dout.git HEAD returned 
 status code 128:
 stdout: 
 stderr: Permission denied, please try again. 
 Permission denied, please try again. 
 Permission denied (publickey,password). 
 fatal: The remote end hung up unexpectedly

I think you missed the ssh:// in the URL?

Cheers,
Johannes




signature.asc
Description: OpenPGP digital signature


Re: Pre-Checkout actions?

2013-02-19 Thread cjo
I don't think it will work for Hudson as it was created after the split and 
uses features added after that point.

I cannot add any more than this as I have not used any version of Hudson 
after the split, or looked for the code.

Chris

On Monday, 18 February 2013 23:45:29 UTC, zw wrote:

 Hi Chris

 Would your plugin work for Hudson too ?
 We tried and it didnt work.

 Thanks

 On Monday, April 30, 2012 5:55:16 AM UTC-7, cjo wrote:


 If you just want to remove the junction points between triggering a build 
 and the checkout from SCM, 
 You can use the pre-scm-buildstep plugin[1] which allows you to run most 
 build steps at this point, including windows batch scripts.


 You could also use the post-build step, which should always run 
 regardless of the result of the build,
 for more freedom at this point consider using the flexible publish plugin 
 (use the always condition) and anybuildstep plugins to allow buildsteps to 
 be run at this point.

 [1] https://wiki.jenkins-ci.org/display/JENKINS/pre-scm-buildstep
 [2] https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task
 [3] https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin
 [4] https://wiki.jenkins-ci.org/display/JENKINS/Any+Build+Step+Plugin

 Chris



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Subversion path doesn't exist in the repository

2013-02-19 Thread Tim Mickelson
I'm using Jenkins 1.5 and have a subversion repository 1.7.x and when I 
create a project with Subversion putting in the repository URL the url 
svn+ssh://host/path/to/repository all is fine, but when i add my project, 
i.e. svn+ssh://host/path/to/repository/project/trunk (which of course 
exists) the Jenkins interface tells me /project/trunk doesn't exist in the 
repository

I have seen that there was an issue JENKINS-11933, but it is closed. Can 
anyone give me a tip how to get around this problem?

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Mark Waite
I think that indicates that the user account context where you have configured 
passwordless login is probably different than the user account context where 
you are executing Jenkins.

You might be able to check that by creating a small job which performs some ssh 
command to the same remote host which is hosting your git repository.  For 
example, if you create a job which runs the command ssh IP address hostname 
(on IP address, execute the command hostname), then you'll probably see a 
similar permission denied message and you can begin studying the differences 
between the context where it works and the context where it fails.

Mark Waite




 From: Kamal Ahmed kamalah...@yahoo.com
To: Johannes Wienke jwie...@techfak.uni-bielefeld.de; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 5:27 AM
Subject: Re: git on jenkins
 

Johannes,

I still get error if i use ssh ( See attached screen shot ) 

Thanks,
-Kamal.









 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: jenkinsci-users@googlegroups.com 
Cc: Kamal Ahmed kamalah...@yahoo.com 
Sent: Tuesday, February 19, 2013 5:47 AM
Subject: Re: git on jenkins
 
On 02/18/2013 05:08 PM, Kamal Ahmed wrote:
 Hi,
 I setup 2 linux hosts with passwordless login, and git clone IP 
 Address:/extra/yte/www/repo/Dout.git
 works on command line, but when i use : IP 
 Address:/extra/yte/www/repo/Dout.git as repo URL, i get an error:
 
 Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
 Address:/extra/yte/www/repo/Dout.git HEAD returned 
 status code 128:
 stdout: 
 stderr: Permission denied, please try again. 
 Permission denied, please try again. 
 Permission denied (publickey,password). 
 fatal: The remote end hung up unexpectedly

I think you missed the ssh:// in the URL?

Cheers,
Johannes





-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Locked pack files on windows slave

2013-02-19 Thread William Soula
I am trying to build a git project on a windows slave using Jenkins 
1.501 with git plugin 1.1.17.  I like to wipe the workspace before 
checking out so I have that option checked.  When I run the build 
sometimes it is able to delete the workspace but a lot of the time it 
can't delete the workspace due to a pack file being locked.  I checked 
out what was locking the file and it is javaw.exe.  If I restart the 
slave then I am able to build once and then another pack file is locked 
by the slave process.

I have tried googling for a solution and apparently there is none 
besides not using windows, which is not news to me, git is not a windows 
tool, never supposed to be never will be.

So my question is if there is some way to restart the slave within 
another job.  My idea is to have something like a the log analyzer 
plugin detect the job failed due to the pack problem and kicks off 
another job that kills the slave and restarts it and kicks off the first 
job again.

Will

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Frequent crashes

2013-02-19 Thread Michael Fowler
Thanks James,
 I've added that to the config, we'll see what happens next time it crashes.
-Michael


On Tue, Feb 19, 2013 at 4:38 AM, teilo teilo+goo...@teilo.net wrote:

 Presumably the service account under which Jenkins is running does not
 have write permissions in the system32 folder.

 You may want to add
 “-XX:ErrorFile=c:\some\path\where\jenkins\can\write\hs_err_.log” to your
 Jenkins JVM startup options so that in the event of a crash the log can be
 found.

 It may be caused by a fault in the JDK - and you may want to submit a bug
 report to Oracle with this log file.

 /James


 On Monday, 18 February 2013 19:47:50 UTC, MDKF wrote:

 Hi Stuart,
  Thanks for the link. It has happened while viewing the console output,
 but we don't have any slave machines, just two executors on the master. But
 as in the bug report we don't have .log files either.


 On Mon, Feb 18, 2013 at 2:40 PM, Stuart Whelan 
 stu...@somepointinthefuture.**co.nz wrote:

 Could it be related to this:

 Jenkins master node crashes often when viewing console logs of builds
 on slaves

 https://issues.jenkins-ci.org/**browse/JENKINS-16528https://issues.jenkins-ci.org/browse/JENKINS-16528

 It happens to me maybe half a dozen times a day.

 It is causing us huge problems, I am about to rebuild our jenkins master
 with a clean os to see if that fixes it.


 On Mon, Feb 18, 2013 at 11:44 AM, MDKF michael...@gmail.com wrote:
 
  Hi all,
   Jenkins keeps crashing randomly. There seems to be no particular
 trigger. Any idea whats happening?
 
  Heres my log:
 
 
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(**JENKINS_HOME)
  Jenkins home directory: C:\Program Files (x86)\Jenkins found at:
 EnvVars.masterEnvVars.get(**JENKINS_HOME)
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(**JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at:
 EnvVars.masterEnvVars.get(**JENKINS_HOME)
  return code: 0
  stderr:
  stdout: The command completed successfully.
 
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(**JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at:
 EnvVars.masterEnvVars.get(**JENKINS_HOME)
  return code: 0
  stderr:
  stdout: The command completed successfully.
 
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x018d1a23, pid=1516,
 tid=3204
  #
  # JRE version: 6.0_39-b04
  # Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing
 windows-x86 )
  # Problematic frame:
  # J  org.kohsuke.stapler.jelly.**groovy.GroovyFacet$1.dispatch(**
 Lorg/kohsuke/stapler/**RequestImpl;Lorg/kohsuke/**
 stapler/ResponseImpl;Ljava/**lang/Object;)Z
  #
  # An error report file with more information is saved as:
  # C:\Windows\system32\hs_err_**pid1516.log
  #
  # If you would like to submit a bug report, please visit:
  #   
  http://java.sun.com/webapps/**bugreport/crash.jsphttp://java.sun.com/webapps/bugreport/crash.jsp
  #
  Running from: C:\Program Files (x86)\Jenkins\jenkins.war
  webroot: EnvVars.masterEnvVars.get(**JENKINS_HOME)
  Jenkins home directory: D:\Jenkins_Home found at:
 EnvVars.masterEnvVars.get(**JENKINS_HOME)
  return code: 2
  stderr: System error 85 has occurred.
  The local device name is already in use.
 
  stdout:
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x0154dd23, pid=4728,
 tid=4012
  #
  # JRE version: 6.0_39-b04
  # Java VM: Java HotSpot(TM) Client VM (20.14-b01 mixed mode, sharing
 windows-x86 )
  # Problematic frame:
  # J  org.kohsuke.stapler.jelly.**groovy.GroovyFacet$1.dispatch(**
 Lorg/kohsuke/stapler/**RequestImpl;Lorg/kohsuke/**
 stapler/ResponseImpl;Ljava/**lang/Object;)Z
  #
  # An error report file with more information is saved as:
  # C:\Windows\system32\hs_err_**pid4728.log
  #
  # If you would like to submit a bug report, please visit:
  #   
  http://java.sun.com/webapps/**bugreport/crash.jsphttp://java.sun.com/webapps/bugreport/crash.jsp
  #
 
 
  --
  You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
  To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@**googlegroups.com.

  For more options, visit 
  https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .
 
 

  --
 You received this message because you are subscribed to the Google
 Groups Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@**googlegroups.com.

 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop 

Re: git on jenkins

2013-02-19 Thread Kamal Ahmed


kahmed@datascout:~/TEMP$ id
uid=1000(kahmed) gid=1000(kahmed) 
groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
kahmed@datascout:~/TEMP$ git clone 
10.100.100.96:/extra/cte/www/repo/Dout.git
Cloning into 'Dout'...
remote: Counting objects: 835, done.
remote: Compressing objects: 100% (604/604), done.
remote: Total 835 (delta 248), reused 597 (delta 141)
Receiving objects: 100% (835/835), 44.51 MiB | 20.25 MiB/s, done.
Resolving deltas: 100% (248/248), done.
kahmed@datascout:~/TEMP$ 

so i CAN clone the repo, using git, from command line, and WHY i cannot do the 
same via Jenkins ? That is the question.

and as per your suggestion: again from command line:

ssh kahmed@10.100.100.96 hostname
cybage02


so i AM able to execute commands without password.




 From: Mark Waite markwa...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 7:44 AM
Subject: Re: git on jenkins
 

I think that indicates that the user account context where you have configured 
passwordless login is probably different than the user account context where 
you are executing Jenkins.


You might be able to check that by creating a small job which performs some 
ssh command to the same remote host which is hosting your git repository.  For 
example, if you create a job which runs the command ssh IP address 
hostname (on IP address, execute the command hostname), then you'll 
probably see a similar permission denied message and you can begin studying 
the differences between the context where it works and the context where it 
fails.


Mark Waite




 From: Kamal Ahmed kamalah...@yahoo.com
To: Johannes Wienke jwie...@techfak.uni-bielefeld.de; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 5:27 AM
Subject: Re: git on jenkins
 

Johannes,

I still get error if i use ssh ( See attached screen shot ) 

Thanks,
-Kamal.









 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: jenkinsci-users@googlegroups.com 
Cc: Kamal Ahmed kamalah...@yahoo.com 
Sent: Tuesday, February 19, 2013 5:47 AM
Subject: Re: git on jenkins
 
On 02/18/2013 05:08 PM, Kamal Ahmed wrote:
 Hi,
 I setup 2 linux hosts with passwordless login, and git clone IP 
 Address:/extra/yte/www/repo/Dout.git
 works on command line, but when i use : IP 
 Address:/extra/yte/www/repo/Dout.git as repo URL, i get an error:
 
 Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
 Address:/extra/yte/www/repo/Dout.git HEAD returned 
 status code 128:
 stdout: 
 stderr: Permission denied, please try again. 
 Permission denied, please try again. 
 Permission denied (publickey,password). 
 fatal: The remote end hung up unexpectedly

I think you missed the ssh:// in the URL?

Cheers,
Johannes





-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
Something is wrong with the email To: section, as this replaced my name with 
Johannes -- FYI to List Admins
-Kamal.





 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: jenkinsci-users@googlegroups.com 
Cc: Kamal Ahmed kamalah...@yahoo.com 
Sent: Tuesday, February 19, 2013 10:51 AM
Subject: Re: git on jenkins
 
On 02/19/2013 04:49 PM, Kamal Ahmed wrote:
 
 
 kahmed@datascout:~/TEMP$ id
 uid=1000(kahmed) gid=1000(kahmed) 
 groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
 kahmed@datascout:~/TEMP$ git clone 
 10.100.100.96:/extra/cte/www/repo/Dout.git
 Cloning into 'Dout'...
 remote: Counting objects: 835, done.
 remote: Compressing objects: 100% (604/604), done.
 remote: Total 835 (delta 248), reused 597 (delta 141)
 Receiving objects: 100% (835/835), 44.51 MiB | 20.25 MiB/s, done.
 Resolving deltas: 100% (248/248), done.
 kahmed@datascout:~/TEMP$ 
 
 so i CAN clone the repo, using git, from command line, and WHY i cannot do 
 the same via Jenkins ? That is the question.
 
 and as per your suggestion: again from command line:
 
 ssh kahmed@10.100.100.96 hostname
 cybage02

The slave is really running under user kahmed?

Cheers,
Johannes






-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Locked pack files on windows slave

2013-02-19 Thread William Soula
I found the following curl command to kill the slave and then Jenkins 
will automatically start it and I thought this might be a good 
workaround to get around git's lack of windows support but in testing I 
push to my repo and a build starts and succeeds, then the slave is 
killed and Jenkins restarts it, then I push to git again and the build 
tries to run but the workspace is now corrupt and nothing happens, then 
I push again and a build tries to occur but the pack file is locked.

curl -d 
offlineMessage=json=%7B%22offlineMessage%22%3A+%22%22%7DSubmit=Yes 
http://[user]:[api token]@[host]/computer/[slave name]/doDisconnect

Is anyone else successfully using windows and git?

Will

On 02/19/2013 07:52 AM, William Soula wrote:
 I am trying to build a git project on a windows slave using Jenkins
 1.501 with git plugin 1.1.17.  I like to wipe the workspace before
 checking out so I have that option checked.  When I run the build
 sometimes it is able to delete the workspace but a lot of the time it
 can't delete the workspace due to a pack file being locked.  I checked
 out what was locking the file and it is javaw.exe.  If I restart the
 slave then I am able to build once and then another pack file is locked
 by the slave process.

 I have tried googling for a solution and apparently there is none
 besides not using windows, which is not news to me, git is not a windows
 tool, never supposed to be never will be.

 So my question is if there is some way to restart the slave within
 another job.  My idea is to have something like a the log analyzer
 plugin detect the job failed due to the pack problem and kicks off
 another job that kills the slave and restarts it and kicks off the first
 job again.

 Will


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SCM polling after build failure question...

2013-02-19 Thread Jeff
We are using SVN (SVNBridge to TFS) for most of our projects.  It doesn't
seem to happen on all of our projects, just sometimes and it seems to be
related to type of build failure (compile vs. test vs. Sonar failure).


On Tue, Feb 19, 2013 at 9:39 AM, Michael Clarke
michael.m.cla...@gmail.comwrote:

 Which SCM are you using? Polling will continue regardless of build status,
 but it's up to each SCM plugin to decide if it sees changes.

 Thanks
 Michael

 On 19 Feb 2013, at 16:28, Jeff predato...@gmail.com wrote:

  We had a check-in for a project that caused a compile error last night
 but it didn't get fixed until this morning.

 However, Jenkins polling (every 4 minutes) detected an SCM change and
 attempted to rebuild.  This repeated every 4 minutes, even though the SCM
 revision was the same for every build with the message No changes.

 Jenkins shouldn't do this should it?  If not, what do I look at?

 --
 Jeff Vincent
 predato...@gmail.com
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox http://db.tt/9O6LfBX !!

 --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



  --
 You received this message because you are subscribed to the Google Groups
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Jeff Vincent
predato...@gmail.com
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox http://db.tt/9O6LfBX !!

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
Username = kahmed
which is the same user which can do a git successfully on a command line.







 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 12:12 PM
Subject: Re: git on jenkins
 
On 19.02.2013 17:28 schrieb Kamal Ahmed:
 
 Johannes,
 
 sorry for the private message, just fat fingered when replying.
 yes, i am using 
 Launch slave on Unix machines using SSH as start method
 
 not sure what is the file to be configured
 
 My network is 
 
 [Jenkins Master ] --- [ Slave ] --- [10.100.100.96/cybage02] , cybage02, 
 is where the git repo is setup.
 

That wasn't what I meant. If you look at the configuration of the slave
in the jenkins web interface, what is the value of the username field,
if you open open up the extended settings for the SSH connection?

Cheers,
Johannes






-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SCM polling after build failure question...

2013-02-19 Thread William Soula
Check the polling log to see if there is any more information there.  I've had 
the same thing happen to me and it was building constantly because the 
workspace was gone and it needed to create a new one but couldn't because the 
workspace was locked.  What was put in the log for reason for the build to have 
occurred was an SCM change.

Will

On 02/19/2013 10:44 AM, Jeff wrote:
We are using SVN (SVNBridge to TFS) for most of our projects.  It doesn't seem 
to happen on all of our projects, just sometimes and it seems to be related to 
type of build failure (compile vs. test vs. Sonar failure).


On Tue, Feb 19, 2013 at 9:39 AM, Michael Clarke 
michael.m.cla...@gmail.commailto:michael.m.cla...@gmail.com wrote:
Which SCM are you using? Polling will continue regardless of build status, but 
it's up to each SCM plugin to decide if it sees changes.

Thanks
Michael

On 19 Feb 2013, at 16:28, Jeff 
predato...@gmail.commailto:predato...@gmail.com wrote:

We had a check-in for a project that caused a compile error last night but it 
didn't get fixed until this morning.

However, Jenkins polling (every 4 minutes) detected an SCM change and attempted 
to rebuild.  This repeated every 4 minutes, even though the SCM revision was 
the same for every build with the message No changes.

Jenkins shouldn't do this should it?  If not, what do I look at?

--
Jeff Vincent
predato...@gmail.commailto:predato...@gmail.com
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBoxhttp://db.tt/9O6LfBX !!
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users%2bunsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Jeff Vincent
predato...@gmail.commailto:predato...@gmail.com
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBoxhttp://db.tt/9O6LfBX !!
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Johannes Wienke
On 19.02.2013 18:25 schrieb Kamal Ahmed:
 Username = kahmed
 which is the same user which can do a git successfully on a command line.

Hm ok, then I don't know. Maybe ssh agent is required and not available
in the jenkins session or something like that?

Cheers,
Johannes




signature.asc
Description: OpenPGP digital signature


Re: Jenkins hanging when running a Wise Installation Studio script

2013-02-19 Thread Eric Black
I found the problem. For whatever reason, the drive that Jenkins is on
is not permitted to access the wise script or the Wise compiler,
although I'm not sure which. Since the Wise script is pulled out of
subversion into the Jenkins workspace, I have to think it is the
compiler. I found the problem by installing cruisecontrol and trying
to see if that program (also java) was able to compile it and I got
this error message:

java.io.IOException: Cannot run program
C:\Tools\cruisecontrol-bin-2.8.4\apache-ant-1.7.0\bin\ant.bat:
CreateProcess error=5, Access is denied

I don't know why Jenkins didn't report the same error (C:\Tools is the
mounted drive). Anyway, I moved all the components to the same drive
and it works now.



On Tue, Feb 19, 2013 at 1:30 PM, Eric Black black.e...@gmail.com wrote:
 Hi,

 I'm having a problem compiling a Wise Installation Studio script from
 Jenkins. It sounds like the same problem described here:

 http://jenkins.361315.n4.nabble.com/Anyone-use-Hudson-to-build-wise-installation-projects-td376973.html

 but I'm already using the '/s' option. The program just hangs. The
 command I'm running on Windows XP, is

 C:\Program Files\Altiris\Wise\WiseScript Package Editor\Wise32.exe
 /c /s c:\Tools\Jenkins\jobs\WiseInstall_test\workspace\MCMG2\Install\WISE
 Full Install\XPFull.wse

 From task manager I see it gets stuck after 30 bytes read and 25 bytes
 written. I stripped out everything from the Wise script until there is
 only a 'Set variable' command. The command works fine from a command
 shell, and also from a cygwin window (with the paths adjusted). Within
 Jenkins, I tried using a batch script, a nant script, and a cygwin
 script, but in all cases, the Wise compilation just hangs. I have
 tried everything I could think of, but I am not a Windows guru, so any
 advice would be appreciated.

 Thanks,
 Eric

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: git on jenkins

2013-02-19 Thread Sami Tikka
I suggest you change your job configuration like this:

1) Remove the all the SCM configuration.

2) As first build step, add a shell script step which executes:

env
ssh -v 10.100.100.96 hostname

Then trigger the job to run. Then click open the build and the console. Check 
the output.

Then run the same commands from the command line where you are able to log in. 
Compare results with the output from Jenkins.

-- Sami

Kamal Ahmed kamalah...@yahoo.com kirjoitti 19.2.2013 kello 19.25:

 Username = kahmed
 which is the same user which can do a git successfully on a command line.
 
 
 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
 To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
 Sent: Tuesday, February 19, 2013 12:12 PM
 Subject: Re: git on jenkins
 
 On 19.02.2013 17:28 schrieb Kamal Ahmed:
  
  Johannes,
  
  sorry for the private message, just fat fingered when replying.
  yes, i am using 
  Launch slave on Unix machines using SSH as start method
  
  not sure what is the file to be configured
  
  My network is 
  
  [Jenkins Master ] --- [ Slave ] --- [10.100.100.96/cybage02] , cybage02, 
  is where the git repo is setup.
  
 
 That wasn't what I meant. If you look at the configuration of the slave
 in the jenkins web interface, what is the value of the username field,
 if you open open up the extended settings for the SSH connection?
 
 Cheers,
 Johannes
 
 
 
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SCM polling after build failure question...

2013-02-19 Thread Sami Tikka
The Jenkins SVN plugin has some dependency on time. To achieve best results you 
should have both Jenkins and SVN server clocks synchronized using NTP or 
similar.

-- Sami

Jeff predato...@gmail.com kirjoitti 19.2.2013 kello 18.44:

 We are using SVN (SVNBridge to TFS) for most of our projects.  It doesn't 
 seem to happen on all of our projects, just sometimes and it seems to be 
 related to type of build failure (compile vs. test vs. Sonar failure).  
 
 
 On Tue, Feb 19, 2013 at 9:39 AM, Michael Clarke michael.m.cla...@gmail.com 
 wrote:
 Which SCM are you using? Polling will continue regardless of build status, 
 but it's up to each SCM plugin to decide if it sees changes.
 
 Thanks
 Michael
 
 On 19 Feb 2013, at 16:28, Jeff predato...@gmail.com wrote:
 
 We had a check-in for a project that caused a compile error last night but 
 it didn't get fixed until this morning.  
 
 However, Jenkins polling (every 4 minutes) detected an SCM change and 
 attempted to rebuild.  This repeated every 4 minutes, even though the SCM 
 revision was the same for every build with the message No changes.
 
 Jenkins shouldn't do this should it?  If not, what do I look at?
 
 -- 
 Jeff Vincent
 predato...@gmail.com
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox !! 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
 
 
 
 -- 
 Jeff Vincent
 predato...@gmail.com
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox !! 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




InvocationTargetException, StackOverflowError

2013-02-19 Thread andre


Hi,

I have a job that has main pom.xml, and this pom call the deploy for 10 
projects (and one other project  dependency - other pom) ...

when I start my job,  after certain time, this exception occurs  ... does 
anyone know what can be wrong ? (out of memory , hibernade  .. ? )

thanks,

Andre



[INFO] org/hibernate/type/OrderedMapType.class already added, skipping
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
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(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.StackOverflowError
at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58)
at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:392)
at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:252)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:190)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111)
at java.io.PrintStream.write(PrintStream.java:476)
at java.io.PrintStream.print(PrintStream.java:619)
at 
org.apache.maven.cli.PrintStreamLogger.info(PrintStreamLogger.java:110)
at 
org.codehaus.plexus.logging.AbstractLogger.info(AbstractLogger.java:51)
at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)

at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)

at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)
 

at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)

at 
org.codehaus.plexus.archiver.AbstractArchiver$1.hasNext(AbstractArchiver.java:464)
 (this lines repeats over down 1500 times)

...

channel stopped
ERROR: Failed to parse POMshudson.util.IOException2 
http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2: 
java.lang.reflect.InvocationTargetException
at hudson.maven.Maven3Builder.call(Maven3Builder.java:162) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.Maven3Builder.callentity=method
at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.Maven3Builder.callentity=method
at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.performentity=method
at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.performentity=method
at hudson.remoting.Request$2.run(Request.java:326) 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.runentity=method
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.callentity=method
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 
http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask$Sync.innerRunentity=method
at java.util.concurrent.FutureTask.run(FutureTask.java:138) 
http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.runentity=method
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 
http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.runTaskentity=method
at 

Re: Locked pack files on windows slave

2013-02-19 Thread Sami Tikka
I have found the git plugin keeps some sort of state about the built branches 
in the workspace.

If we configure the workspace to be deleted in the beginning or end of the 
build, there's no predicting which branch Jenkins is going to build next. (Of 
course, we could specify the branch in the job configuration but there are some 
jobs for which we really like it when Jenkins can build and test whatever 
branch someone should push.)

So I have used a workaround: Check the Clean after checkout box in git SCM 
Advanced settings. I think it works as well as cleaning the workspace. It might 
actually make thing slightly faster because Jenkins does not have to clone the 
workspace from scratch. If you have a good-sized git repo, even the cloning 
might take a couple of minutes.

-- Sami

William Soula william.so...@drillinginfo.com kirjoitti 19.2.2013 kello 15.52:

 I am trying to build a git project on a windows slave using Jenkins 
 1.501 with git plugin 1.1.17.  I like to wipe the workspace before 
 checking out so I have that option checked.  When I run the build 
 sometimes it is able to delete the workspace but a lot of the time it 
 can't delete the workspace due to a pack file being locked.  I checked 
 out what was locking the file and it is javaw.exe.  If I restart the 
 slave then I am able to build once and then another pack file is locked 
 by the slave process.
 
 I have tried googling for a solution and apparently there is none 
 besides not using windows, which is not news to me, git is not a windows 
 tool, never supposed to be never will be.
 
 So my question is if there is some way to restart the slave within 
 another job.  My idea is to have something like a the log analyzer 
 plugin detect the job failed due to the pack problem and kicks off 
 another job that kills the slave and restarts it and kicks off the first 
 job again.
 
 Will
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unable to add new node (Windows slave) after upgrade to 1.500

2013-02-19 Thread Sami Tikka
It might be related to 
https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04

People have been unable to start JNLP slaves after upgrading their Jenkins. 
I've understood it is still possible to do it. You'd have to use a browser 
authenticate and to download the slave-agent.jnlp from the JNLP slave's own 
page ($JENKINS_URL/computer/SLAVENAME).

Then you would start the slave agent from the command line and provide it with 
a file:// url to the locally saved slave-agent.jnlp file.

I haven't tested this personally, I was only told by a colleque who has to care 
about a couple of windows slaves he had to do this.

-- Sami

Manjunath D G dgmanjunat...@yahoo.com kirjoitti 19.2.2013 kello 10.54:

 Hi All,
 I'm Able to connect Jenkins Windows Slave by using Launch Method as : Launch 
 slave agent via Java web Start.
 
 But not working with when i'm trying to use Let Jenkins control this windows 
 slave as windows service.Provided with right Administrator user 
 name,Password and  Host Name.
 
 I don't see any problem with Jenkins slave which were configured before 
 migration.They are still working even after migration.Only problem is with 
 adding new windows slave.
 
 Can some one help me on this
 Regards,
 Manju
 
 On Thursday, February 14, 2013 5:03:19 PM UTC+5:30, Manjunath D G wrote:
 Hi,
 After my version upgrade from 1.427 to 1.500,I'm unable to add new 
 node.Getting
  
 Connecting to 172.24.136.55
 Checking if Java exists
 java -version returned 1.7.0.
 Copying jenkins-slave.xml
 Copying slave.jar
 Starting the service
 
  
 And nothings happens.Do i need to install any new/ugrade specific plugins.
  
 Can some one please do let me know what and all i should post upgrade ofr 
 Jenkins version from 1.427 to 1.501.
  
 Thanks And Regards,
 Manju
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Where to place test dependent files

2013-02-19 Thread Sami Tikka
This question isn't really about Jenkins and there is no correct answer. It's 
like you asked which editor should you use, Emacs or Vi. Wars have been fought 
for lesser things.

There is a school which thinks the source/version control system should contain 
only the source code i.e. the files containing some programming language.

Then there is another school which thinks you should version control your code, 
configuration files, documentation, tests, tools, even your compiler and 
libraries too.

I guess most people are somewhere in between. I myself once worked in a team 
which had everything, including the compiler in the version control and I was 
very happy with it because a) I knew I could build just about everywhere 
without having to spend a week setting up the environment and 2) I knew exactly 
what went into the build.

So if you ask me, I'd say check in your jslint4java into version control. But 
I'm sure someone else will tell you something different.

-- Sami

Jonas Geiregat jo...@geiregat.org kirjoitti 19.2.2013 kello 0.15:

 Hello,
   
   
   
 I'm using Jenkins as a CI server for a python web based project.  
   
 I'm using the Violations plugin and jslint to get some
   
 information out of my javascript files.   
   
 For this I use, jslin4java, which I use as  a Java jar.   
   
   
   
 As I'm new to jenkins and see other such cases arise I should 
   
 find a good solution to handle such dependent files.  
   
   
   
 My issue is, where to put those files that my tests require but,  
   
 should not be part of the projects source code ?  
   
 I've considered putting them under VCS control, just like I do
   
 with my project configuration files.
 
 Jonas.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




JUnit Attachment Plugin - NUnit option?

2013-02-19 Thread Daniel Becroft
Hi,

Are there any plans to extend the JUnit Attachment plugin to be able to
work with NUnit?

Or is there a way to get it to work now?

Cheers,
---
Daniel Becroft

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




jenkins exception after a apk-build ends (FATAL: null java.lang.StackOverflowError)

2013-02-19 Thread shuo huang
This only heppend on one machine of android-apk build. 
 
*This build was working pretty well. But now builds are broken.*
 
This exissted on 1.501/1.502.
 
But, *since i run apt-get upgrade*( total 197 components updated), this 
affects
*openjdk* update from 6b27-1.12.1-2ubuntu0.10.04.2 
to*6b20-1.9.13-0ubuntu1~10.04.1
*.
 
apt-upgrade log, components_name (old_vesion, new_version):
  ...
 openjdk-6-jdk (6b20-1.9.13-0ubuntu1~10.04.1, 6b27-1.12.1-2ubuntu0.10.04.2)
 openjdk-6-jre (6b20-1.9.13-0ubuntu1~10.04.1, 6b27-1.12.1-2ubuntu0.10.04.2)
 openjdk-6-jre-headless (6b20-1.9.13-0ubuntu1~10.04.1, 
6b27-1.12.1-2ubuntu0.10.04.2)
 openjdk-6-jre-lib (6b20-1.9.13-0ubuntu1~10.04.1, 
6b27-1.12.1-2ubuntu0.10.04.2)
 ...
 jenkins (1.490, 1.501)
 ...
 
*While, same build on another server is fine.* 
 
On both server I have installed SUN JDK 1.6, which  suggested by Google 
android (java version 1.6.0_26 (build 1.6.0_26-b03))
 
So I removed openjdk on broken build server:
 *apt-get remove  openjdk-6**
 
After this, a test build is passed on that broken build server.
 

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Culprits/committers not coming from upstream jobs

2013-02-19 Thread Daniel Becroft
Hi,

I have the following setup:

project-build  project-env-setup  project-test

With the Editable Email Notification plugin, I have selected to email
Committers and Culprits on build instability (or failure) for the
project-test.

However, the source repository is only accessed in the project-build step,
and everything else just uses artifacts from that. This means that, when
the emails are sent, it doesn't include the committers that made a change
in the original build project.

Is there a setting that I can change to get committers/culprits to be
calculated from upstream builds as well?

Cheers,
---
Daniel Becroft

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




StackOverflowError during email notification in 1.502 with git

2013-02-19 Thread Ben Caradoc-Davies
Email notification gets stuck in a recursive loop in our Jenkins 1.502 
with git plugin 1.1.29. All plugins up-to-date.


I think it is the same as this, so I added a comment with more details:
https://issues.jenkins-ci.org/browse/JENKINS-13959

Workaround is to disable email notification.

Anyone else see this?

Kind regards,

--
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
You received this message because you are subscribed to the Google Groups Jenkins 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: StackOverflowError during email notification in 1.502 with git

2013-02-19 Thread Ben Caradoc-Davies
Oops, turning off email notification does *not* work. I am still seeing 
the same error.


On 20/02/13 13:13, Ben Caradoc-Davies wrote:

Email notification gets stuck in a recursive loop in our Jenkins 1.502
with git plugin 1.1.29. All plugins up-to-date.

I think it is the same as this, so I added a comment with more details:
https://issues.jenkins-ci.org/browse/JENKINS-13959

Workaround is to disable email notification.

Anyone else see this?

Kind regards,



--
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
You received this message because you are subscribed to the Google Groups Jenkins 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: StackOverflowError during email notification in 1.502 with git

2013-02-19 Thread shuo huang
I have StackOverflowError  when build finish.  but my found not related 
with email

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.