Just setup a new Jenkins slave running on Debian 6/Squeeze. Did the simple SSH method and everything went quite smoothly. Now I have configured one of my builds to use this new slave with a very odd effect. That is that there are long delays periodically in the build.
Here is some sample output: Building remotely on dcc-jenkins-slave <http://intouch-ci:8080/jenkins/computer/dcc-jenkins-slave> in workspace /home/intouch/jenkins_work/workspace/intouch-qa Checkout:intouch-qa / /home/intouch/jenkins_work/workspace/intouch-qa - hudson.remoting.Channel@41cc3f28:dcc-jenkins-slave Using strategy: Default Last Built Revision: Revision 29258d9508c3cf5a7b8a6e867d1e18ef88e9408d (origin/nexus) *<<< 10 MINUTE DELAY HERE >>>* Fetching changes from 1 remote Git repository Fetching upstream changes from ssh://g...@github.com/foo/bar Commencing build of Revision 29258d9508c3cf5a7b8a6e867d1e18ef88e9408d (origin/nexus) Checking out Revision 29258d9508c3cf5a7b8a6e867d1e18ef88e9408d (origin/nexus) Starting xvnc [intouch-qa] $ vncserver :11 -geometry 800x600 New 'X' desktop is jenkins-slave:11 Starting applications specified in /home/intouch/.vnc/xstartup Log file is /home/intouch/.vnc/jenkins-slave:11.log Parsing POMs *<<< 10 MINUTE DELAY HERE >>>* etc... Does anybody have any ideas what could be going on here? I don't see any errors anywhere. The slave Debian install is running in a virtual machine (OpenVZ) if that helps. Here is the log of the slave launch: [05/03/12 08:32:56] [SSH] Opening SSH connection to 192.168.80.150:22. [05/03/12 08:32:58] [SSH] Authenticating as intouch with /home/intouch/.ssh/id_rsa. [05/03/12 08:32:58] [SSH] Authentication successful. [05/03/12 08:32:58] [SSH] The remote users environment is: BASH=/bin/bash BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="1" [2]="5" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='4.1.5(1)-release' DIRSTACK=() EUID=1000 GROUPS=() HOME=/home/intouch HOSTNAME=jenkins-slave HOSTTYPE=x86_64 IFS=$' \t\n' LANG=en_CA.UTF-8 LOGNAME=intouch MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/intouch OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games PIPESTATUS=([0]="0") PPID=910 PS4='+ ' PWD=/home/intouch SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='192.168.10.150 44221 22' SSH_CONNECTION='192.168.10.150 44221 192.168.80.150 22' TERM=dumb UID=1000 USER=intouch _=']' [05/03/12 08:32:59] [SSH] Checking java version of java Couldn't figure out the Java version of java bash: java: command not found [05/03/12 08:32:59] [SSH] Checking java version of /usr/bin/java Couldn't figure out the Java version of /usr/bin/java bash: /usr/bin/java: No such file or directory [05/03/12 08:33:00] [SSH] Checking java version of /usr/java/default/bin/java Couldn't figure out the Java version of /usr/java/default/bin/java bash: /usr/java/default/bin/java: No such file or directory [05/03/12 08:33:00] [SSH] Checking java version of /usr/java/latest/bin/java Couldn't figure out the Java version of /usr/java/latest/bin/java bash: /usr/java/latest/bin/java: No such file or directory [05/03/12 08:33:01] [SSH] Checking java version of /usr/local/bin/java Couldn't figure out the Java version of /usr/local/bin/java bash: /usr/local/bin/java: No such file or directory [05/03/12 08:33:01] [SSH] Checking java version of /usr/local/java/bin/java Couldn't figure out the Java version of /usr/local/java/bin/java bash: /usr/local/java/bin/java: No such file or directory [05/03/12 08:33:02] [SSH] Checking java version of /home/intouch/jenkins_work/jdk/bin/java Couldn't figure out the Java version of /home/intouch/jenkins_work/jdk/bin/java bash: /home/intouch/jenkins_work/jdk/bin/java: No such file or directory [05/03/12 08:33:02] [SSH] Checking java version of /opt/jdk/bin/java [05/03/12 08:33:03] [SSH] /opt/jdk/bin/java -version returned 1.7.0_03. [05/03/12 08:33:03] [SSH] Starting sftp client. [05/03/12 08:33:04] [SSH] Copying latest slave.jar... [05/03/12 08:33:13] [SSH] Copied 266,750 bytes. [05/03/12 08:33:14] [SSH] Starting slave process: cd '/home/intouch/jenkins_work' && /opt/jdk/bin/java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.13 This is a Unix slave Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Evacuated stdout Slave successfully connected and online