Started by user Markus Döring Building in workspace /var/lib/jenkins/jobs/markus-deploy/workspace [workspace] $ /var/lib/jenkins/jobs/markus-deploy/builds/2015-02-26_11-23-06/deploy.sh gbif-jenkins:sZiKTHRQNi4b7i prod /var/lib/jenkins/tmp/deploy_hosts430726818679642513 /var/lib/jenkins/tmp/service5656326359510169028yaml services 2015-02-26_11-23-06 master Updating local Git repositories Current branch master HEAD is now at 788a079 Add back in environment check, see http://dev.gbif.org/issues/browse/POR-2679 Removing services/filter_plugins/gbif_filters.pyc Removing services/group_vars/ From https://github.com/gbif/c-deploy * branch master -> FETCH_HEAD Already up-to-date. Fetching origin Already up-to-date. group_vars directory didn't exist, creating it Executing ansible playbook [WARNING]: The version of gmp you have installed has a known issue regarding timing vulnerabilities when used with pycrypto. If possible, you should update it (i.e. yum update gmp). PLAY [prepare appserver] ****************************************************** GATHERING FACTS *************************************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE setup EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946191.8-229959248840511 && echo $HOME/.ansible/tmp/ansible-tmp-1424946191.8-229959248840511' PUT /tmp/tmpl4QdPr TO /root/.ansible/tmp/ansible-tmp-1424946191.8-229959248840511/setup EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946191.8-229959248840511/setup; rm -rf /root/.ansible/tmp/ansible-tmp-1424946191.8-229959248840511/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] TASK: [appserver | install fedora-epel] *************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum state=present pkg=epel-release-7 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946193.23-274183765383700 && echo $HOME/.ansible/tmp/ansible-tmp-1424946193.23-274183765383700' PUT /tmp/tmp3HKg2O TO /root/.ansible/tmp/ansible-tmp-1424946193.23-274183765383700/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946193.23-274183765383700/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946193.23-274183765383700/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["epel-release-7-5.noarch providing epel-release-7 is already installed"]} TASK: [appserver | adding GBIF yum repo] ************************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/etc/yum.repos.d/gbif.repo" ] || rc=2; [ -f "/etc/yum.repos.d/gbif.repo" ] || rc=1; [ -d "/etc/yum.repos.d/gbif.repo" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /etc/yum.repos.d/gbif.repo" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/etc/yum.repos.d/gbif.repo", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/etc/yum.repos.d/gbif.repo", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /etc/yum.repos.d/gbif.repo")' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946194.12-97432361321102 && echo $HOME/.ansible/tmp/ansible-tmp-1424946194.12-97432361321102' PUT /tmp/tmpB3AWVj TO /root/.ansible/tmp/ansible-tmp-1424946194.12-97432361321102/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946194.12-97432361321102/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946194.12-97432361321102/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "checksum": "4d4f189f49db7ba88cf3de88766af1acc3de139b", "dest": "/etc/yum.repos.d/gbif.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/gbif.repo", "size": 171, "state": "file", "uid": 0} TASK: [appserver | installing Python] ***************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=python-2.7.5 state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946194.37-267126126486121 && echo $HOME/.ansible/tmp/ansible-tmp-1424946194.37-267126126486121' PUT /tmp/tmpGKlCR2 TO /root/.ansible/tmp/ansible-tmp-1424946194.37-267126126486121/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946194.37-267126126486121/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946194.37-267126126486121/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["python-2.7.5-16.el7.x86_64 providing python-2.7.5 is already installed"]} TASK: [appserver | installing Java runtime environment] *********************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=java-1.7.0-openjdk state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946194.88-215943616272412 && echo $HOME/.ansible/tmp/ansible-tmp-1424946194.88-215943616272412' PUT /tmp/tmp2NOuPY TO /root/.ansible/tmp/ansible-tmp-1424946194.88-215943616272412/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946194.88-215943616272412/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946194.88-215943616272412/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64 providing java-1.7.0-openjdk is already installed"]} TASK: [appserver | installing Java development environment] ******************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=java-1.7.0-openjdk-devel state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946195.34-246243048406074 && echo $HOME/.ansible/tmp/ansible-tmp-1424946195.34-246243048406074' PUT /tmp/tmpTwFEy5 TO /root/.ansible/tmp/ansible-tmp-1424946195.34-246243048406074/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946195.34-246243048406074/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946195.34-246243048406074/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["java-1.7.0-openjdk-devel-1.7.0.75-2.5.4.2.el7_0.x86_64 providing java-1.7.0-openjdk-devel is already installed"]} TASK: [appserver | install kazoo] ********************************************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=python-kazoo-2.0 state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946195.78-92067734850111 && echo $HOME/.ansible/tmp/ansible-tmp-1424946195.78-92067734850111' PUT /tmp/tmp9_2f4A TO /root/.ansible/tmp/ansible-tmp-1424946195.78-92067734850111/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946195.78-92067734850111/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946195.78-92067734850111/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["python-kazoo-2.0-2.el7.noarch providing python-kazoo-2.0 is already installed"]} TASK: [appserver | ensure directories exists] ********************************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946196.3-183177078105261 && echo $HOME/.ansible/tmp/ansible-tmp-1424946196.3-183177078105261' PUT /tmp/tmpu3FZtn TO /root/.ansible/tmp/ansible-tmp-1424946196.3-183177078105261/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946196.3-183177078105261/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946196.3-183177078105261/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure services directory exists] ************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/services/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946196.52-187134101072647 && echo $HOME/.ansible/tmp/ansible-tmp-1424946196.52-187134101072647' PUT /tmp/tmpqAA1Pc TO /root/.ansible/tmp/ansible-tmp-1424946196.52-187134101072647/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946196.52-187134101072647/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946196.52-187134101072647/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/services/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure logs backup directory exists] *********************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/logs/backups/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946196.75-94479567935351 && echo $HOME/.ansible/tmp/ansible-tmp-1424946196.75-94479567935351' PUT /tmp/tmpYxNMUi TO /root/.ansible/tmp/ansible-tmp-1424946196.75-94479567935351/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946196.75-94479567935351/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946196.75-94479567935351/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/logs/backups/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure conf directory exists] ****************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/conf/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946196.97-139705390915098 && echo $HOME/.ansible/tmp/ansible-tmp-1424946196.97-139705390915098' PUT /tmp/tmpUM8Ro0 TO /root/.ansible/tmp/ansible-tmp-1424946196.97-139705390915098/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946196.97-139705390915098/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946196.97-139705390915098/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/conf/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | copy appkeys.properties file] ****************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/usr/local/gbif/conf/appkeys.properties" ] || rc=2; [ -f "/usr/local/gbif/conf/appkeys.properties" ] || rc=1; [ -d "/usr/local/gbif/conf/appkeys.properties" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /usr/local/gbif/conf/appkeys.properties" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/usr/local/gbif/conf/appkeys.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/usr/local/gbif/conf/appkeys.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /usr/local/gbif/conf/appkeys.properties")' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946197.25-131425972160095 && echo $HOME/.ansible/tmp/ansible-tmp-1424946197.25-131425972160095' PUT /tmp/tmpX8kyDE TO /root/.ansible/tmp/ansible-tmp-1424946197.25-131425972160095/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946197.25-131425972160095/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946197.25-131425972160095/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "checksum": "51a62b4a7280ac5efd09e1f0ad19f7e664461b3a", "dest": "/usr/local/gbif/conf/appkeys.properties", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/usr/local/gbif/conf/appkeys.properties", "size": 1230, "state": "file", "uid": 0} TASK: [appserver | load artifacts versions] *********************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE base_version services="[{'version': 'LATEST', 'groupId': 'org.gbif.registry', 'testOnDeploy': 1, 'artifactId': 'registry-ws'}]" nexusUrl="http://repository.gbif.org" repository="releases" EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946197.5-123437944804610 && echo $HOME/.ansible/tmp/ansible-tmp-1424946197.5-123437944804610' PUT /tmp/tmp9_4tvl TO /root/.ansible/tmp/ansible-tmp-1424946197.5-123437944804610/base_version EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946197.5-123437944804610/base_version; rm -rf /root/.ansible/tmp/ansible-tmp-1424946197.5-123437944804610/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "result": "[{\"specificVersion\": \"2.25\", \"testOnDeploy\": 1, \"version\": \"LATEST\", \"baseVersion\": \"2.25\", \"groupId\": \"org.gbif.registry\", \"artifactId\": \"registry-ws\"}]"} TASK: [appserver | update services variables] ********************************* ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => {"ansible_facts": {"services": [{"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "specificVersion": "2.25", "testOnDeploy": 1, "version": "LATEST"}]}} TASK: [appserver | getting timestamp value] *********************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command date +"%s" #USE_SHELL EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946197.76-281149683433320 && echo $HOME/.ansible/tmp/ansible-tmp-1424946197.76-281149683433320' PUT /tmp/tmpgOgi08 TO /root/.ansible/tmp/ansible-tmp-1424946197.76-281149683433320/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946197.76-281149683433320/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946197.76-281149683433320/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "cmd": "date +\"%s\"", "delta": "0:00:00.004100", "end": "2015-02-26 11:23:17.956792", "rc": 0, "start": "2015-02-26 11:23:17.952692", "stderr": "", "stdout": "1424946197", "warnings": []} TASK: [appserver | setting timestamp variable] ******************************** ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => {"ansible_facts": {"timestamp": "1424946197"}} TASK: [appserver | ensure logs and service directory exists] ****************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/services/registry-ws/2.25/1424946197/logs state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946198.01-259805424832218 && echo $HOME/.ansible/tmp/ansible-tmp-1424946198.01-259805424832218' PUT /tmp/tmp8mLqTR TO /root/.ansible/tmp/ansible-tmp-1424946198.01-259805424832218/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946198.01-259805424832218/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946198.01-259805424832218/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'version': 'LATEST', 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'testOnDeploy': 1, 'artifactId': 'registry-ws'}) => {"changed": true, "gid": 0, "group": "root", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "specificVersion": "2.25", "testOnDeploy": 1, "version": "LATEST"}, "mode": "0755", "owner": "root", "path": "/usr/local/gbif/services/registry-ws/2.25/1424946197/logs", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure jvm-dumps(HeapDumpPath) directory exists] *********** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/services/registry-ws/jvm-dumps state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946198.24-59012368477204 && echo $HOME/.ansible/tmp/ansible-tmp-1424946198.24-59012368477204' PUT /tmp/tmpPc_Ov5 TO /root/.ansible/tmp/ansible-tmp-1424946198.24-59012368477204/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946198.24-59012368477204/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946198.24-59012368477204/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'version': 'LATEST', 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'testOnDeploy': 1, 'artifactId': 'registry-ws'}) => {"changed": false, "gid": 0, "group": "root", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "specificVersion": "2.25", "testOnDeploy": 1, "version": "LATEST"}, "mode": "0755", "owner": "root", "path": "/usr/local/gbif/services/registry-ws/jvm-dumps", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | downloading Nexus artifacts] ******************************* ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186 && echo $HOME/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186' PUT /var/lib/jenkins/jobs/markus-deploy/workspace/gitrepos/c-deploy/services/roles/appserver/files/downloadnexus.sh TO /root/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186/downloadnexus.sh EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'chmod +rx /root/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186/downloadnexus.sh' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org LANG=C LC_CTYPE=C /root/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186/downloadnexus.sh -o /usr/local/gbif/services/registry-ws/2.25/1424946197 -s http://repository.gbif.org/service/local/artifact/maven/redirect -g org.gbif.registry -a registry-ws -v 2.25 -r releases -c EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rm -rf /root/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'version': 'LATEST', 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'testOnDeploy': 1, 'artifactId': 'registry-ws'}) => {"changed": true, "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "specificVersion": "2.25", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "stderr": "", "stdout": "/root/.ansible/tmp/ansible-tmp-1424946198.48-165636954618186/downloadnexus.sh: option requires an argument -- c\r\ndownloading registry-ws-2.25.jar from http://repository.gbif.org/service/local/artifact/maven/redirect?g=org.gbif.registry&a=registry-ws&v=2.25&r=releases&e=jar\r\n"} TASK: [appserver | assign ports] ********************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE assign_ports services="[{'specificVersion': '2.25', 'testOnDeploy': 1, 'version': 'LATEST', 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}]" fromPort=9000 toPort=10000 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946199.7-216476263966541 && echo $HOME/.ansible/tmp/ansible-tmp-1424946199.7-216476263966541' PUT /tmp/tmptgGu05 TO /root/.ansible/tmp/ansible-tmp-1424946199.7-216476263966541/assign_ports EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946199.7-216476263966541/assign_ports; rm -rf /root/.ansible/tmp/ansible-tmp-1424946199.7-216476263966541/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "result": "[{\"specificVersion\": \"2.25\", \"testOnDeploy\": 1, \"httpAdminPort\": 9019, \"httpExternalPort\": 9014, \"httpPort\": 9014, \"version\": \"LATEST\", \"httpExternalAdminPort\": 9019, \"baseVersion\": \"2.25\", \"groupId\": \"org.gbif.registry\", \"artifactId\": \"registry-ws\"}]"} TASK: [appserver | update services variable] ********************************** ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => {"ansible_facts": {"services": [{"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "specificVersion": "2.25", "testOnDeploy": 1, "version": "LATEST"}]}} TASK: [appserver | cloning gbif-configuration repository] ********************* <127.0.0.1> REMOTE_MODULE git repo=https://gbif-jenkins:********@github.com/gbif/gbif-configuration accept_hostkey=yes dest="/tmp/gbif-configuration" <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586 && echo $HOME/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586'] <127.0.0.1> PUT /tmp/tmpq4RZhn TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586/git <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586/git; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946199.99-18033737047586/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => {"after": "910c33486e151220bc20c0c36d749c84728a97c5", "before": null, "changed": true} TASK: [appserver | ensure temporary directory with configuration files exists] *** <127.0.0.1> REMOTE_MODULE file dest="/tmp/gbifconf_1424946197" state=directory <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944 && echo $HOME/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944'] <127.0.0.1> PUT /tmp/tmpabHbLS TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944/file <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944/file; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946205.89-128187149785944/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => {"changed": true, "gid": 496, "group": "jenkins", "mode": "0755", "owner": "jenkins", "path": "/tmp/gbifconf_1424946197", "secontext": "system_u:object_r:tmp_t:s0", "size": 4096, "state": "directory", "uid": 496} TASK: [appserver | load additional settings from https://github.com/gbif/gbif-configuration] *** <127.0.0.1> REMOTE_MODULE extend_conf gbif_conf_path=/tmp/gbif-configuration/ environment=prod services="[{'specificVersion': '2.25', 'httpExternalAdminPort': 9019, 'groupId': 'org.gbif.registry', 'httpExternalPort': 9014, 'httpPort': 9014, 'version': 'LATEST', 'testOnDeploy': 1, 'baseVersion': '2.25', 'httpAdminPort': 9019, 'artifactId': 'registry-ws'}]" <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372 && echo $HOME/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372'] <127.0.0.1> PUT /tmp/tmpnoEVaA TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372/extend_conf <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372/extend_conf; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946206.33-93449630804372/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => {"changed": true, "result": "[{\"specificVersion\": \"2.25\", \"hasExternalConf\": \"False\", \"stopSecret\": \"stop\", \"httpExternalAdminPort\": 9019, \"httpAdminPort\": 9019, \"httpExternalPort\": 9014, \"httpPort\": 9014, \"javaOpts\": \"-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60\", \"version\": \"LATEST\", \"testOnDeploy\": 1, \"baseVersion\": \"2.25\", \"groupId\": \"org.gbif.registry\", \"artifactId\": \"registry-ws\"}]"} TASK: [appserver | update services variable with extended configruation from https://github.com/gbif/gbif-configuration] *** ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => {"ansible_facts": {"services": [{"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}]}} TASK: [appserver | copying service conf directory] **************************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | copy configuration files] ********************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties" ] || rc=2; [ -f "/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties" ] || rc=1; [ -d "/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties")' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729 && echo $HOME/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729' PUT /tmp/gbif-configuration/registry-ws/prod/application.properties TO /root/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729/source PUT /tmp/tmp8oFJzA TO /root/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729/copy EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729/copy; rm -rf /root/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "checksum": "e01120a3bd5e79c6f2f13d9acf345a4682b289b4", "dest": "/usr/local/gbif/services/registry-ws/2.25/1424946197/application.properties", "gid": 0, "group": "root", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "md5sum": "3e7873ef11434c6cea78a664735a1428", "mode": "0644", "owner": "root", "size": 2157, "src": "/root/.ansible/tmp/ansible-tmp-1424946206.6-65150869465729/source", "state": "file", "uid": 0} TASK: [appserver | ensure directories exists] ********************************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946206.9-207698098112888 && echo $HOME/.ansible/tmp/ansible-tmp-1424946206.9-207698098112888' PUT /tmp/tmptVdMLx TO /root/.ansible/tmp/ansible-tmp-1424946206.9-207698098112888/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946206.9-207698098112888/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946206.9-207698098112888/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure services directory exists] ************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/services/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946207.12-69740848302906 && echo $HOME/.ansible/tmp/ansible-tmp-1424946207.12-69740848302906' PUT /tmp/tmpV7E8U5 TO /root/.ansible/tmp/ansible-tmp-1424946207.12-69740848302906/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946207.12-69740848302906/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946207.12-69740848302906/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/services/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure logs backup directory exists] *********************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/logs/backups/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946207.34-21489085058629 && echo $HOME/.ansible/tmp/ansible-tmp-1424946207.34-21489085058629' PUT /tmp/tmppRe5kl TO /root/.ansible/tmp/ansible-tmp-1424946207.34-21489085058629/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946207.34-21489085058629/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946207.34-21489085058629/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/logs/backups/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | ensure conf directory exists] ****************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file dest=/usr/local/gbif/conf/ state=directory EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946207.58-274640784087764 && echo $HOME/.ansible/tmp/ansible-tmp-1424946207.58-274640784087764' PUT /tmp/tmpVkvwpw TO /root/.ansible/tmp/ansible-tmp-1424946207.58-274640784087764/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946207.58-274640784087764/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946207.58-274640784087764/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/local/gbif/conf/", "size": 4096, "state": "directory", "uid": 0} TASK: [appserver | copy appkeys.properties file] ****************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/usr/local/gbif/conf/appkeys.properties" ] || rc=2; [ -f "/usr/local/gbif/conf/appkeys.properties" ] || rc=1; [ -d "/usr/local/gbif/conf/appkeys.properties" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /usr/local/gbif/conf/appkeys.properties" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/usr/local/gbif/conf/appkeys.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/usr/local/gbif/conf/appkeys.properties", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /usr/local/gbif/conf/appkeys.properties")' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946207.85-75372294095072 && echo $HOME/.ansible/tmp/ansible-tmp-1424946207.85-75372294095072' PUT /tmp/tmpOoBeN_ TO /root/.ansible/tmp/ansible-tmp-1424946207.85-75372294095072/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946207.85-75372294095072/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946207.85-75372294095072/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => {"changed": false, "checksum": "51a62b4a7280ac5efd09e1f0ad19f7e664461b3a", "dest": "/usr/local/gbif/conf/appkeys.properties", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/usr/local/gbif/conf/appkeys.properties", "size": 1230, "state": "file", "uid": 0} TASK: [appserver | copying start.sh scripts] ********************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947 && echo $HOME/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh" ] || rc=2; [ -f "/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh" ] || rc=1; [ -d "/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh")' PUT /tmp/tmpESPWFz TO /root/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947/source PUT /tmp/tmpp3Bcmo TO /root/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947/copy EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947/copy; rm -rf /root/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "checksum": "e1a7124c6d34c0bb27240cdfb6ec8f903a36b9b5", "dest": "/usr/local/gbif/services/registry-ws/2.25/1424946197/start.sh", "gid": 0, "group": "root", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "md5sum": "b3c4182fe07df15f8154ca66505f82e0", "mode": "0777", "owner": "root", "size": 894, "src": "/root/.ansible/tmp/ansible-tmp-1424946208.09-266044184821947/source", "state": "file", "uid": 0} TASK: [appserver | copying stop.sh scripts] *********************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358 && echo $HOME/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'rc=flag; [ -r "/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh" ] || rc=2; [ -f "/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh" ] || rc=1; [ -d "/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh")' PUT /tmp/tmpsZI89Z TO /root/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358/source PUT /tmp/tmptVZ9RC TO /root/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358/copy EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358/copy; rm -rf /root/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "checksum": "2d4c4adc25501d2f4f66c5e9ede1fd88e38bfc2d", "dest": "/usr/local/gbif/services/registry-ws/2.25/1424946197/stop.sh", "gid": 0, "group": "root", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "md5sum": "1a14a1385badd669ff3f1b06f78af721", "mode": "0777", "owner": "root", "size": 369, "src": "/root/.ansible/tmp/ansible-tmp-1424946208.44-106825170878358/source", "state": "file", "uid": 0} TASK: [appserver | get the running services configuration from zookeeper] ***** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE discovery_services environment=prod zkHost=prodmaster3-vh.gbif.org:2181,prodmaster2-vh.gbif.org:2181,prodmaster1-vh.gbif.org:2181 services="[{'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'httpExternalAdminPort': 9019, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'testOnDeploy': 1, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}]" command="query" EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946208.77-140356020847944 && echo $HOME/.ansible/tmp/ansible-tmp-1424946208.77-140356020847944' PUT /tmp/tmphYqY3L TO /root/.ansible/tmp/ansible-tmp-1424946208.77-140356020847944/discovery_services EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946208.77-140356020847944/discovery_services; rm -rf /root/.ansible/tmp/ansible-tmp-1424946208.77-140356020847944/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "result": [{"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}]} TASK: [appserver | set the running_services variable] ************************* ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => {"ansible_facts": {"running_services": [{"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}]}} TASK: [appserver | debug msg="{{running_services}}"] ************************** ESTABLISH CONNECTION FOR USER: root ok: [prodapps2-vh.gbif.org] => { "msg": "[{u'timestamp': 1424354974, u'httpAdminPort': 9001, u'httpPort': 9000, u'host': u'apps2.gbif.org', u'version': u'2.24', u'stopSecret': u'stop', u'groupId': u'org.gbif.registry', u'artifactId': u'registry-ws'}]" } TASK: [appserver | opening external ports] ************************************ ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --zone=public --add-port=9014/tcp --permanent EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946209.13-252609351843012 && echo $HOME/.ansible/tmp/ansible-tmp-1424946209.13-252609351843012' PUT /tmp/tmplxUxfE TO /root/.ansible/tmp/ansible-tmp-1424946209.13-252609351843012/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946209.13-252609351843012/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946209.13-252609351843012/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": ["firewall-cmd", "--zone=public", "--add-port=9014/tcp", "--permanent"], "delta": "0:00:00.341758", "end": "2015-02-26 11:23:29.652259", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:23:29.310501", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | opening external admin ports] ****************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --zone=public --add-port=9019/tcp --permanent EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946209.69-271563961255448 && echo $HOME/.ansible/tmp/ansible-tmp-1424946209.69-271563961255448' PUT /tmp/tmpTAdH5W TO /root/.ansible/tmp/ansible-tmp-1424946209.69-271563961255448/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946209.69-271563961255448/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946209.69-271563961255448/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": ["firewall-cmd", "--zone=public", "--add-port=9019/tcp", "--permanent"], "delta": "0:00:00.163704", "end": "2015-02-26 11:23:30.039732", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:23:29.876028", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | reload firewall conf] ************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --reload EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946210.07-11133220835799 && echo $HOME/.ansible/tmp/ansible-tmp-1424946210.07-11133220835799' PUT /tmp/tmpLqiY4l TO /root/.ansible/tmp/ansible-tmp-1424946210.07-11133220835799/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946210.07-11133220835799/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946210.07-11133220835799/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "cmd": ["firewall-cmd", "--reload"], "delta": "0:00:00.974243", "end": "2015-02-26 11:23:31.246879", "rc": 0, "start": "2015-02-26 11:23:30.272636", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | initiating services] *************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command ./start.sh chdir="/usr/local/gbif/services/registry-ws/2.25/1424946197/" EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946211.29-243644770874175 && echo $HOME/.ansible/tmp/ansible-tmp-1424946211.29-243644770874175' PUT /tmp/tmp4HzweY TO /root/.ansible/tmp/ansible-tmp-1424946211.29-243644770874175/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946211.29-243644770874175/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946211.29-243644770874175/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": ["./start.sh"], "delta": "0:00:01.006938", "end": "2015-02-26 11:23:32.485942", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:23:31.479004", "stderr": "", "stdout": "STARTED", "warnings": []} TASK: [appserver | wait for the ports to be running] ************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE wait_for port=9014 host=apps2.gbif.org delay=30 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946212.53-126997013602432 && echo $HOME/.ansible/tmp/ansible-tmp-1424946212.53-126997013602432' PUT /tmp/tmpEbYzc6 TO /root/.ansible/tmp/ansible-tmp-1424946212.53-126997013602432/wait_for EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946212.53-126997013602432/wait_for; rm -rf /root/.ansible/tmp/ansible-tmp-1424946212.53-126997013602432/ >/dev/null 2>&1' ok: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": false, "elapsed": 30, "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "path": null, "port": 9014, "search_regex": null, "state": "started"} TASK: [appserver | executing smoke tests] ************************************* <127.0.0.1> REMOTE_MODULE command python ../scripts/smoketests.py http://apps2.gbif.org:9014/ --service registry-ws --verbose <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016 && echo $HOME/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016'] <127.0.0.1> PUT /tmp/tmp9l86IX TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016/command <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016/command; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946242.8-195247889281016/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": ["python", "../scripts/smoketests.py", "http://apps2.gbif.org:9014/", "--service", "registry-ws", "--verbose"], "delta": "0:00:00.260155", "end": "2015-02-26 11:24:03.187244", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:24:02.927089", "stderr": "Test case: executes a dataset search operation and gets the detail of the first record. ... ok\n\n----------------------------------------------------------------------\nRan 1 test in 0.000s\n\nOK", "stdout": "OK - All tests passed using http://apps2.gbif.org:9014/, --service, registry-ws, --verbose", "warnings": []} TASK: [appserver | backing up log files] ************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command tar -cvzf /usr/local/gbif/logs/backups/registry-ws-LATEST-logs-bkp-pre_1424946197.tgz $(find . ! -name 1424946197 ! -path . | xargs ls -d -1 **/* | grep '\\*\.log\|\\*\.out') chdir=/usr/local/gbif/services/registry-ws/2.25 #USE_SHELL EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946243.25-89210989605519 && echo $HOME/.ansible/tmp/ansible-tmp-1424946243.25-89210989605519' PUT /tmp/tmppU3elV TO /root/.ansible/tmp/ansible-tmp-1424946243.25-89210989605519/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946243.25-89210989605519/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946243.25-89210989605519/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": "tar -cvzf /usr/local/gbif/logs/backups/registry-ws-LATEST-logs-bkp-pre_1424946197.tgz $(find . ! -name 1424946197 ! -path . | xargs ls -d -1 **/* | grep '\\\\*\\.log\\|\\\\*\\.out')", "delta": "0:00:00.013062", "end": "2015-02-26 11:24:03.456713", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:24:03.443651", "stderr": "", "stdout": "./1424946197/logs/registry-ws-2.25-1424946197.out\n./1424946197/logs/registry-ws.log\n./1424946197/logs/registry-ws_error.log", "warnings": ["Consider using unarchive module rather than running tar"]} TASK: [appserver | stopping old services forcibly] **************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command ./stop.sh chdir="/usr/local/gbif/services/registry-ws/2.24/1424354974/" EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946243.5-231725260464977 && echo $HOME/.ansible/tmp/ansible-tmp-1424946243.5-231725260464977' PUT /tmp/tmppp_fF1 TO /root/.ansible/tmp/ansible-tmp-1424946243.5-231725260464977/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946243.5-231725260464977/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946243.5-231725260464977/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={u'timestamp': 1424354974, u'groupId': u'org.gbif.registry', u'httpPort': 9000, u'host': u'apps2.gbif.org', u'version': u'2.24', u'stopSecret': u'stop', u'httpAdminPort': 9001, u'artifactId': u'registry-ws'}) => {"changed": true, "cmd": ["./stop.sh"], "delta": "0:00:00.179841", "end": "2015-02-26 11:24:03.880803", "item": {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}, "rc": 0, "start": "2015-02-26 11:24:03.700962", "stderr": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0", "stdout": "Stopping registry-ws-2.24... STOPPED", "warnings": []} TASK: [appserver | pause minutes=1] ******************************************* ESTABLISH CONNECTION FOR USER: root created 'pause' ActionModule: pause_type=minutes, duration_unit=minutes, calculated_seconds=60, prompt=None (^C-c = continue early, ^C-a = abort) [prodapps2-vh.gbif.org] Pausing for 60 seconds ok: [prodapps2-vh.gbif.org] => {"changed": false, "delta": 60, "rc": 0, "start": "2015-02-26 11:24:03.917610", "stderr": "", "stdout": "Paused for 1.0 minutes", "stop": "2015-02-26 11:25:03.962456"} TASK: [appserver | removing unused external ports] **************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --zone=public --remove-port=9000/tcp --permanent EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946304.0-179246651349114 && echo $HOME/.ansible/tmp/ansible-tmp-1424946304.0-179246651349114' PUT /tmp/tmp6TPhut TO /root/.ansible/tmp/ansible-tmp-1424946304.0-179246651349114/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946304.0-179246651349114/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946304.0-179246651349114/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={u'timestamp': 1424354974, u'groupId': u'org.gbif.registry', u'httpPort': 9000, u'host': u'apps2.gbif.org', u'version': u'2.24', u'stopSecret': u'stop', u'httpAdminPort': 9001, u'artifactId': u'registry-ws'}) => {"changed": true, "cmd": ["firewall-cmd", "--zone=public", "--remove-port=9000/tcp", "--permanent"], "delta": "0:00:00.197061", "end": "2015-02-26 11:25:05.447254", "item": {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}, "rc": 0, "start": "2015-02-26 11:25:05.250193", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | removing unused external admin ports] ********************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --zone=public --remove-port=9001/tcp --permanent EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946305.49-232761716334634 && echo $HOME/.ansible/tmp/ansible-tmp-1424946305.49-232761716334634' PUT /tmp/tmpAycT6o TO /root/.ansible/tmp/ansible-tmp-1424946305.49-232761716334634/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946305.49-232761716334634/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946305.49-232761716334634/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={u'timestamp': 1424354974, u'groupId': u'org.gbif.registry', u'httpPort': 9000, u'host': u'apps2.gbif.org', u'version': u'2.24', u'stopSecret': u'stop', u'httpAdminPort': 9001, u'artifactId': u'registry-ws'}) => {"changed": true, "cmd": ["firewall-cmd", "--zone=public", "--remove-port=9001/tcp", "--permanent"], "delta": "0:00:00.165282", "end": "2015-02-26 11:25:05.840265", "item": {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}, "rc": 0, "start": "2015-02-26 11:25:05.674983", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | reload firewall conf] ************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command firewall-cmd --reload EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946305.88-54531797142087 && echo $HOME/.ansible/tmp/ansible-tmp-1424946305.88-54531797142087' PUT /tmp/tmpwOpNTt TO /root/.ansible/tmp/ansible-tmp-1424946305.88-54531797142087/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946305.88-54531797142087/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946305.88-54531797142087/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => {"changed": true, "cmd": ["firewall-cmd", "--reload"], "delta": "0:00:00.909651", "end": "2015-02-26 11:25:06.980605", "rc": 0, "start": "2015-02-26 11:25:06.070954", "stderr": "", "stdout": "success", "warnings": []} TASK: [appserver | removing old services directories files] ******************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE file path=/usr/local/gbif/services/registry-ws/2.24/1424354974 state=absent EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946307.03-1347016459087 && echo $HOME/.ansible/tmp/ansible-tmp-1424946307.03-1347016459087' PUT /tmp/tmpKNCNf6 TO /root/.ansible/tmp/ansible-tmp-1424946307.03-1347016459087/file EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946307.03-1347016459087/file; rm -rf /root/.ansible/tmp/ansible-tmp-1424946307.03-1347016459087/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={u'timestamp': 1424354974, u'groupId': u'org.gbif.registry', u'httpPort': 9000, u'host': u'apps2.gbif.org', u'version': u'2.24', u'stopSecret': u'stop', u'httpAdminPort': 9001, u'artifactId': u'registry-ws'}) => {"changed": true, "item": {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9001, "httpPort": 9000, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.24"}, "path": "/usr/local/gbif/services/registry-ws/2.24/1424354974", "state": "absent"} TASK: [appserver | removing empty services directories] *********************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command find -type d -empty -not -path "./jvm-dumps" -delete chdir=/usr/local/gbif/services/registry-ws/ EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946307.28-276760948354263 && echo $HOME/.ansible/tmp/ansible-tmp-1424946307.28-276760948354263' PUT /tmp/tmpAHv4hd TO /root/.ansible/tmp/ansible-tmp-1424946307.28-276760948354263/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 prodapps2-vh.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946307.28-276760948354263/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946307.28-276760948354263/ >/dev/null 2>&1' changed: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) => {"changed": true, "cmd": ["find", "-type", "d", "-empty", "-not", "-path", "./jvm-dumps", "-delete"], "delta": "0:00:00.005425", "end": "2015-02-26 11:25:07.481119", "item": {"artifactId": "registry-ws", "baseVersion": "2.25", "groupId": "org.gbif.registry", "hasExternalConf": "False", "httpAdminPort": 9019, "httpExternalAdminPort": 9019, "httpExternalPort": 9014, "httpPort": 9014, "javaOpts": "-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60", "specificVersion": "2.25", "stopSecret": "stop", "testOnDeploy": 1, "version": "LATEST"}, "rc": 0, "start": "2015-02-26 11:25:07.475694", "stderr": "", "stdout": "", "warnings": []} TASK: [appserver | removing temp gbif-configuration] ************************** <127.0.0.1> REMOTE_MODULE file path=/tmp/gbif-configuration state=absent <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853 && echo $HOME/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853'] <127.0.0.1> PUT /tmp/tmpIWJUym TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853/file <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853/file; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.51-45817561797853/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => {"changed": true, "path": "/tmp/gbif-configuration", "state": "absent"} TASK: [appserver | removing temp gbifconf_{{timestamp}}] ********************** <127.0.0.1> REMOTE_MODULE file path=/tmp/gbifconf_1424946197 state=absent <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687 && echo $HOME/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687'] <127.0.0.1> PUT /tmp/tmp4iXW6H TO /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687/file <127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687/file; rm -rf /var/lib/jenkins/.ansible/tmp/ansible-tmp-1424946307.99-62074790888687/ >/dev/null 2>&1'] changed: [prodapps2-vh.gbif.org -> 127.0.0.1] => {"changed": true, "path": "/tmp/gbifconf_1424946197", "state": "absent"} TASK: [appserver | backing up log files creted] ******************************* skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | stopping services forcibly] ******************************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | removing unused external ports] **************************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | removing unused external admin ports] ********************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | reload firewall conf] ************************************** skipping: [prodapps2-vh.gbif.org] TASK: [appserver | removing services directories files] *********************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | removing empty services directories] *********************** skipping: [prodapps2-vh.gbif.org] => (item={'specificVersion': '2.25', 'hasExternalConf': 'False', 'stopSecret': 'stop', 'testOnDeploy': 1, 'httpAdminPort': 9019, 'httpExternalPort': 9014, 'httpPort': 9014, 'javaOpts': '-Xms2g -Xmx2g -XX:HeapDumpPath=/usr/local/gbif/services/registry-ws/jvm-dumps -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60', 'version': 'LATEST', 'httpExternalAdminPort': 9019, 'baseVersion': '2.25', 'groupId': 'org.gbif.registry', 'artifactId': 'registry-ws'}) TASK: [appserver | fail msg="Deploymeny has failed, newly installed services have been stopped and removed"] *** skipping: [prodapps2-vh.gbif.org] PLAY [updating varnish configuration] ***************************************** GATHERING FACTS *************************************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE setup EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946308.6-245956436767273 && echo $HOME/.ansible/tmp/ansible-tmp-1424946308.6-245956436767273' PUT /tmp/tmprjnDmQ TO /root/.ansible/tmp/ansible-tmp-1424946308.6-245956436767273/setup EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946308.6-245956436767273/setup; rm -rf /root/.ansible/tmp/ansible-tmp-1424946308.6-245956436767273/ >/dev/null 2>&1' ok: [api.gbif.org] TASK: [varnish | install python] ********************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=python-2.6.6 state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946310.54-100609962676255 && echo $HOME/.ansible/tmp/ansible-tmp-1424946310.54-100609962676255' PUT /tmp/tmpaQ2l47 TO /root/.ansible/tmp/ansible-tmp-1424946310.54-100609962676255/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946310.54-100609962676255/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946310.54-100609962676255/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["python-2.6.6-52.el6.x86_64 providing python-2.6.6 is already installed"]} TASK: [varnish | download and install python pip] ***************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command chdir=/tmp/ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O ez_setup.py EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946312.09-13604920017147 && echo $HOME/.ansible/tmp/ansible-tmp-1424946312.09-13604920017147' PUT /tmp/tmpw42DgC TO /root/.ansible/tmp/ansible-tmp-1424946312.09-13604920017147/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946312.09-13604920017147/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946312.09-13604920017147/ >/dev/null 2>&1' changed: [api.gbif.org] => (item=wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O ez_setup.py) => {"changed": true, "cmd": ["wget", "https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py", "-O", "ez_setup.py"], "delta": "0:00:00.957347", "end": "2015-02-26 11:25:13.447685", "item": "wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O ez_setup.py", "rc": 0, "start": "2015-02-26 11:25:12.490338", "stderr": "--2015-02-26 11:25:12-- https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py\nResolving bitbucket.org... 131.103.20.168, 131.103.20.167\nConnecting to bitbucket.org|131.103.20.168|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 11106 (11K) [text/plain]\nSaving to: `ez_setup.py'\n\n 0K .......... 100% 477M=0s\n\n2015-02-26 11:25:13 (477 MB/s) - `ez_setup.py' saved [11106/11106]", "stdout": "", "warnings": ["Consider using get_url module rather than running wget"]} ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command chdir=/tmp/ python ez_setup.py EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946313.47-237967894663626 && echo $HOME/.ansible/tmp/ansible-tmp-1424946313.47-237967894663626' PUT /tmp/tmpGrC1p9 TO /root/.ansible/tmp/ansible-tmp-1424946313.47-237967894663626/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946313.47-237967894663626/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946313.47-237967894663626/ >/dev/null 2>&1' changed: [api.gbif.org] => (item=python ez_setup.py) => {"changed": true, "cmd": ["python", "ez_setup.py"], "delta": "0:00:01.318157", "end": "2015-02-26 11:25:15.164514", "item": "python ez_setup.py", "rc": 0, "start": "2015-02-26 11:25:13.846357", "stderr": "/tmp/tmpw5Tzc5/setuptools-12.2/setuptools/command/egg_info.py:171: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.\n writer = ep.load(installer=installer)", "stdout": "Extracting in /tmp/tmpw5Tzc5\nNow working in /tmp/tmpw5Tzc5/setuptools-12.2\nInstalling Setuptools\nrunning install\nrunning bdist_egg\nrunning egg_info\nwriting requirements to setuptools.egg-info/requires.txt\nwriting setuptools.egg-info/PKG-INFO\nwriting top-level names to setuptools.egg-info/top_level.txt\nwriting dependency_links to setuptools.egg-info/dependency_links.txt\nwriting entry points to setuptools.egg-info/entry_points.txt\nreading manifest file 'setuptools.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwriting manifest file 'setuptools.egg-info/SOURCES.txt'\ninstalling library code to build/bdist.linux-x86_64/egg\nrunning install_lib\nrunning build_py\ncreating build\ncreating build/lib\ncopying easy_install.py -> build/lib\ncreating build/lib/pkg_resources\ncopying pkg_resources/__init__.py -> build/lib/pkg_resources\ncreating build/lib/_markerlib\ncopying _markerlib/markers.py -> build/lib/_markerlib\ncopying _markerlib/__init__.py -> build/lib/_markerlib\ncreating build/lib/setuptools\ncopying setuptools/windows_support.py -> build/lib/setuptools\ncopying setuptools/__init__.py -> build/lib/setuptools\ncopying setuptools/extension.py -> build/lib/setuptools\ncopying setuptools/archive_util.py -> build/lib/setuptools\ncopying setuptools/site-patch.py -> build/lib/setuptools\ncopying setuptools/lib2to3_ex.py -> build/lib/setuptools\ncopying setuptools/dist.py -> build/lib/setuptools\ncopying setuptools/py26compat.py -> build/lib/setuptools\ncopying setuptools/ssl_support.py -> build/lib/setuptools\ncopying setuptools/py31compat.py -> build/lib/setuptools\ncopying setuptools/depends.py -> build/lib/setuptools\ncopying setuptools/package_index.py -> build/lib/setuptools\ncopying setuptools/py27compat.py -> build/lib/setuptools\ncopying setuptools/version.py -> build/lib/setuptools\ncopying setuptools/msvc9_support.py -> build/lib/setuptools\ncopying setuptools/unicode_utils.py -> build/lib/setuptools\ncopying setuptools/utils.py -> build/lib/setuptools\ncopying setuptools/compat.py -> build/lib/setuptools\ncopying setuptools/sandbox.py -> build/lib/setuptools\ncreating build/lib/pkg_resources/_vendor\ncopying pkg_resources/_vendor/__init__.py -> build/lib/pkg_resources/_vendor\ncreating build/lib/pkg_resources/tests\ncopying pkg_resources/tests/test_resources.py -> build/lib/pkg_resources/tests\ncopying pkg_resources/tests/__init__.py -> build/lib/pkg_resources/tests\ncopying pkg_resources/tests/test_pkg_resources.py -> build/lib/pkg_resources/tests\ncreating build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/__init__.py -> build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/_structures.py -> build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/_compat.py -> build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/specifiers.py -> build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/__about__.py -> build/lib/pkg_resources/_vendor/packaging\ncopying pkg_resources/_vendor/packaging/version.py -> build/lib/pkg_resources/_vendor/packaging\ncreating build/lib/setuptools/command\ncopying setuptools/command/install_egg_info.py -> build/lib/setuptools/command\ncopying setuptools/command/test.py -> build/lib/setuptools/command\ncopying setuptools/command/__init__.py -> build/lib/setuptools/command\ncopying setuptools/command/install_lib.py -> build/lib/setuptools/command\ncopying setuptools/command/register.py -> build/lib/setuptools/command\ncopying setuptools/command/upload_docs.py -> build/lib/setuptools/command\ncopying setuptools/command/develop.py -> build/lib/setuptools/command\ncopying setuptools/command/bdist_egg.py -> build/lib/setuptools/command\ncopying setuptools/command/install.py -> build/lib/setuptools/command\ncopying setuptools/command/setopt.py -> build/lib/setuptools/command\ncopying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command\ncopying setuptools/command/build_ext.py -> build/lib/setuptools/command\ncopying setuptools/command/alias.py -> build/lib/setuptools/command\ncopying setuptools/command/egg_info.py -> build/lib/setuptools/command\ncopying setuptools/command/sdist.py -> build/lib/setuptools/command\ncopying setuptools/command/build_py.py -> build/lib/setuptools/command\ncopying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command\ncopying setuptools/command/saveopts.py -> build/lib/setuptools/command\ncopying setuptools/command/easy_install.py -> build/lib/setuptools/command\ncopying setuptools/command/rotate.py -> build/lib/setuptools/command\ncopying setuptools/command/install_scripts.py -> build/lib/setuptools/command\ncreating build/lib/setuptools/tests\ncopying setuptools/tests/test_markerlib.py -> build/lib/setuptools/tests\ncopying setuptools/tests/fixtures.py -> build/lib/setuptools/tests\ncopying setuptools/tests/__init__.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_bdist_egg.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_egg_info.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_test.py -> build/lib/setuptools/tests\ncopying setuptools/tests/script-with-bom.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_sdist.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_msvc9compiler.py -> build/lib/setuptools/tests\ncopying setuptools/tests/py26compat.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_find_packages.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_sandbox.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_packageindex.py -> build/lib/setuptools/tests\ncopying setuptools/tests/server.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_dist_info.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_develop.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_upload_docs.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_build_ext.py -> build/lib/setuptools/tests\ncopying setuptools/tests/textwrap.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_integration.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_easy_install.py -> build/lib/setuptools/tests\ncopying setuptools/tests/test_windows_wrappers.py -> build/lib/setuptools/tests\ncopying setuptools/tests/environment.py -> build/lib/setuptools/tests\ncopying setuptools/tests/contexts.py -> build/lib/setuptools/tests\ncopying setuptools/script (dev).tmpl -> build/lib/setuptools\ncopying setuptools/script.tmpl -> build/lib/setuptools\ncreating build/bdist.linux-x86_64\ncreating build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/pkg_resources\ncopying build/lib/pkg_resources/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources\ncreating build/bdist.linux-x86_64/egg/pkg_resources/_vendor\ncopying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor\ncreating build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncopying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging\ncreating build/bdist.linux-x86_64/egg/pkg_resources/tests\ncopying build/lib/pkg_resources/tests/test_resources.py -> build/bdist.linux-x86_64/egg/pkg_resources/tests\ncopying build/lib/pkg_resources/tests/__init__.py -> build/bdist.linux-x86_64/egg/pkg_resources/tests\ncopying build/lib/pkg_resources/tests/test_pkg_resources.py -> build/bdist.linux-x86_64/egg/pkg_resources/tests\ncreating build/bdist.linux-x86_64/egg/_markerlib\ncopying build/lib/_markerlib/markers.py -> build/bdist.linux-x86_64/egg/_markerlib\ncopying build/lib/_markerlib/__init__.py -> build/bdist.linux-x86_64/egg/_markerlib\ncopying build/lib/easy_install.py -> build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/windows_support.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/__init__.py -> build/bdist.linux-x86_64/egg/setuptools\ncreating build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/test.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/__init__.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/register.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/develop.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/install.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/setopt.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/alias.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/sdist.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/build_py.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/rotate.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-x86_64/egg/setuptools/command\ncopying build/lib/setuptools/extension.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/archive_util.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/site-patch.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/lib2to3_ex.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/dist.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/py26compat.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/ssl_support.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/py31compat.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/depends.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/package_index.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/py27compat.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/version.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/msvc9_support.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/utils.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-x86_64/egg/setuptools\ncreating build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_markerlib.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/fixtures.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/__init__.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_bdist_egg.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_egg_info.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_test.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/script-with-bom.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_sdist.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_msvc9compiler.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/py26compat.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_find_packages.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_sandbox.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_packageindex.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/server.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_dist_info.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_develop.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_upload_docs.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_build_ext.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/textwrap.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_integration.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_easy_install.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/test_windows_wrappers.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/environment.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/tests/contexts.py -> build/bdist.linux-x86_64/egg/setuptools/tests\ncopying build/lib/setuptools/compat.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/sandbox.py -> build/bdist.linux-x86_64/egg/setuptools\ncopying build/lib/setuptools/script.tmpl -> build/bdist.linux-x86_64/egg/setuptools\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/_structures.py to _structures.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/_compat.py to _compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/specifiers.py to specifiers.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/__about__.py to __about__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/_vendor/packaging/version.py to version.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/tests/test_resources.py to test_resources.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/tests/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pkg_resources/tests/test_pkg_resources.py to test_pkg_resources.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/_markerlib/markers.py to markers.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/_markerlib/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/easy_install.py to easy_install.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/windows_support.py to windows_support.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_egg_info.py to install_egg_info.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/test.py to test.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_lib.py to install_lib.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/register.py to register.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/upload_docs.py to upload_docs.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/develop.py to develop.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py to bdist_egg.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install.py to install.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/setopt.py to setopt.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_rpm.py to bdist_rpm.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/build_ext.py to build_ext.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/alias.py to alias.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/egg_info.py to egg_info.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/sdist.py to sdist.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/build_py.py to build_py.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/bdist_wininst.py to bdist_wininst.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/saveopts.py to saveopts.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py to easy_install.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/rotate.py to rotate.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/command/install_scripts.py to install_scripts.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/extension.py to extension.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/archive_util.py to archive_util.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/site-patch.py to site-patch.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/lib2to3_ex.py to lib2to3_ex.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/dist.py to dist.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/py26compat.py to py26compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/ssl_support.py to ssl_support.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/py31compat.py to py31compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/depends.py to depends.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/package_index.py to package_index.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/py27compat.py to py27compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/version.py to version.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/msvc9_support.py to msvc9_support.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/unicode_utils.py to unicode_utils.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/utils.py to utils.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_markerlib.py to test_markerlib.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/fixtures.py to fixtures.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/__init__.py to __init__.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_bdist_egg.py to test_bdist_egg.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_egg_info.py to test_egg_info.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_test.py to test_test.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/script-with-bom.py to script-with-bom.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_sdist.py to test_sdist.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_msvc9compiler.py to test_msvc9compiler.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/py26compat.py to py26compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_find_packages.py to test_find_packages.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_sandbox.py to test_sandbox.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_packageindex.py to test_packageindex.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/server.py to server.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_dist_info.py to test_dist_info.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_develop.py to test_develop.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_upload_docs.py to test_upload_docs.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_build_ext.py to test_build_ext.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/textwrap.py to textwrap.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_integration.py to test_integration.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_easy_install.py to test_easy_install.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/test_windows_wrappers.py to test_windows_wrappers.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/environment.py to environment.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/tests/contexts.py to contexts.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/compat.py to compat.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/setuptools/sandbox.py to sandbox.pyc\ncreating build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying setuptools.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO\ncreating dist\ncreating 'dist/setuptools-12.2-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)\nProcessing setuptools-12.2-py2.6.egg\nRemoving /usr/lib/python2.6/site-packages/setuptools-12.2-py2.6.egg\nCopying setuptools-12.2-py2.6.egg to /usr/lib/python2.6/site-packages\nsetuptools 12.2 is already the active version in easy-install.pth\nInstalling easy_install script to /usr/bin\nInstalling easy_install-2.6 script to /usr/bin\n\nInstalled /usr/lib/python2.6/site-packages/setuptools-12.2-py2.6.egg\nProcessing dependencies for setuptools==12.2\nFinished processing dependencies for setuptools==12.2", "warnings": []} ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command chdir=/tmp/ easy_install pip EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946315.2-168827009485898 && echo $HOME/.ansible/tmp/ansible-tmp-1424946315.2-168827009485898' PUT /tmp/tmpHe8DR0 TO /root/.ansible/tmp/ansible-tmp-1424946315.2-168827009485898/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946315.2-168827009485898/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946315.2-168827009485898/ >/dev/null 2>&1' changed: [api.gbif.org] => (item=easy_install pip) => {"changed": true, "cmd": ["easy_install", "pip"], "delta": "0:00:00.376517", "end": "2015-02-26 11:25:16.247284", "item": "easy_install pip", "rc": 0, "start": "2015-02-26 11:25:15.870767", "stderr": "", "stdout": "Searching for pip\nBest match: pip 1.5.6\nProcessing pip-1.5.6-py2.6.egg\npip 1.5.6 is already the active version in easy-install.pth\nInstalling pip script to /usr/bin\nInstalling pip2.6 script to /usr/bin\nInstalling pip2 script to /usr/bin\n\nUsing /usr/lib/python2.6/site-packages/pip-1.5.6-py2.6.egg\nProcessing dependencies for pip\nFinished processing dependencies for pip", "warnings": []} TASK: [varnish | be sure libselinux-python are installed] ********************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum name=libselinux-python-2.0.94 state=present EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946316.28-272422232164198 && echo $HOME/.ansible/tmp/ansible-tmp-1424946316.28-272422232164198' PUT /tmp/tmpjHrEm1 TO /root/.ansible/tmp/ansible-tmp-1424946316.28-272422232164198/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946316.28-272422232164198/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946316.28-272422232164198/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["libselinux-python-2.0.94-5.8.el6.x86_64 providing libselinux-python-2.0.94 is already installed"]} TASK: [varnish | install kazoo] *********************************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE pip name=kazoo version=2.0 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946317.63-210650599440826 && echo $HOME/.ansible/tmp/ansible-tmp-1424946317.63-210650599440826' PUT /tmp/tmpissCf2 TO /root/.ansible/tmp/ansible-tmp-1424946317.63-210650599440826/pip EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946317.63-210650599440826/pip; rm -rf /root/.ansible/tmp/ansible-tmp-1424946317.63-210650599440826/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "cmd": "/usr/bin/pip install kazoo==2.0", "name": "kazoo", "requirements": null, "state": "present", "stderr": "", "stdout": "Requirement already satisfied (use --upgrade to upgrade): kazoo==2.0 in /usr/lib/python2.6/site-packages\nCleaning up...\n", "version": "2.0", "virtualenv": null} TASK: [varnish | install varnish repository] ********************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE command rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm creates=/var/lib/yum/repos/x86_64/6/varnish-3.0 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946318.6-206770884620100 && echo $HOME/.ansible/tmp/ansible-tmp-1424946318.6-206770884620100' PUT /tmp/tmpi78nbl TO /root/.ansible/tmp/ansible-tmp-1424946318.6-206770884620100/command EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946318.6-206770884620100/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424946318.6-206770884620100/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "cmd": "rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm", "rc": 0, "stderr": false, "stdout": "skipped, since /var/lib/yum/repos/x86_64/6/varnish-3.0 exists"} TASK: [varnish | install varnish] ********************************************* ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE yum pkg=varnish state=installed EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946319.1-238356981447837 && echo $HOME/.ansible/tmp/ansible-tmp-1424946319.1-238356981447837' PUT /tmp/tmpi2MWPT TO /root/.ansible/tmp/ansible-tmp-1424946319.1-238356981447837/yum EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1424946319.1-238356981447837/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1424946319.1-238356981447837/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "msg": "", "rc": 0, "results": ["varnish-3.0.5-1.el5.centos.x86_64 providing varnish is already installed"]} TASK: [varnish | set varnish to start on boot] ******************************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE service name=varnish enabled=yes state=started EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946320.16-228404971796633 && echo $HOME/.ansible/tmp/ansible-tmp-1424946320.16-228404971796633' PUT /tmp/tmpBVH_aw TO /root/.ansible/tmp/ansible-tmp-1424946320.16-228404971796633/service EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946320.16-228404971796633/service; rm -rf /root/.ansible/tmp/ansible-tmp-1424946320.16-228404971796633/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "enabled": true, "name": "varnish", "state": "started"} TASK: [varnish | install python-varnish python module] ************************ ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE pip name=python-varnish version=0.2.1 EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946320.54-180918141087477 && echo $HOME/.ansible/tmp/ansible-tmp-1424946320.54-180918141087477' PUT /tmp/tmpcJwFem TO /root/.ansible/tmp/ansible-tmp-1424946320.54-180918141087477/pip EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946320.54-180918141087477/pip; rm -rf /root/.ansible/tmp/ansible-tmp-1424946320.54-180918141087477/ >/dev/null 2>&1' ok: [api.gbif.org] => {"changed": false, "cmd": "/usr/bin/pip install python-varnish==0.2.1", "name": "python-varnish", "requirements": null, "state": "present", "stderr": "", "stdout": "Requirement already satisfied (use --upgrade to upgrade): python-varnish==0.2.1 in /usr/lib/python2.6/site-packages\nCleaning up...\n", "version": "0.2.1", "virtualenv": null} TASK: [varnish | get the services configuration from zookeeper] *************** ESTABLISH CONNECTION FOR USER: root REMOTE_MODULE discovery_services environment=prod zkHost=prodmaster3-vh.gbif.org:2181,prodmaster2-vh.gbif.org:2181,prodmaster1-vh.gbif.org:2181 command="query" EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946321.49-160793463626954 && echo $HOME/.ansible/tmp/ansible-tmp-1424946321.49-160793463626954' PUT /tmp/tmpyzhzRg TO /root/.ansible/tmp/ansible-tmp-1424946321.49-160793463626954/discovery_services EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946321.49-160793463626954/discovery_services; rm -rf /root/.ansible/tmp/ansible-tmp-1424946321.49-160793463626954/ >/dev/null 2>&1' changed: [api.gbif.org] => {"changed": true, "result": [{"artifactId": "occurrence-ws", "groupId": "org.gbif.occurrence", "host": "apps2.gbif.org", "httpAdminPort": 9003, "httpPort": 9002, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.27"}, {"artifactId": "tile-server", "groupId": "org.gbif", "host": "apps2.gbif.org", "httpAdminPort": 9013, "httpPort": 9012, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.16"}, {"artifactId": "metrics-ws", "groupId": "org.gbif.metrics", "host": "apps2.gbif.org", "httpAdminPort": 9011, "httpPort": 9010, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.19"}, {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9019, "httpPort": 9014, "stopSecret": "stop", "timestamp": 1424946197, "version": "2.25"}, {"artifactId": "checklistbank-nub-ws", "groupId": "org.gbif.checklistbank", "host": "apps2.gbif.org", "httpAdminPort": 9007, "httpPort": 9006, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.11"}, {"artifactId": "geocode-ws", "groupId": "org.gbif.geocode", "host": "apps2.gbif.org", "httpAdminPort": 9016, "httpPort": 9015, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.6"}, {"artifactId": "crawler-ws", "groupId": "org.gbif.crawler", "host": "apps2.gbif.org", "httpAdminPort": 9009, "httpPort": 9008, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.10"}, {"artifactId": "image-cache", "groupId": "org.gbif", "host": "apps2.gbif.org", "httpAdminPort": 9018, "httpPort": 9017, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.8"}, {"artifactId": "checklistbank-ws", "groupId": "org.gbif.checklistbank", "host": "apps2.gbif.org", "httpAdminPort": 9005, "httpPort": 9004, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.11"}]} TASK: [varnish | update services variables] *********************************** ESTABLISH CONNECTION FOR USER: root ok: [api.gbif.org] => {"ansible_facts": {"xservices": [{"artifactId": "occurrence-ws", "groupId": "org.gbif.occurrence", "host": "apps2.gbif.org", "httpAdminPort": 9003, "httpPort": 9002, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.27"}, {"artifactId": "tile-server", "groupId": "org.gbif", "host": "apps2.gbif.org", "httpAdminPort": 9013, "httpPort": 9012, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.16"}, {"artifactId": "metrics-ws", "groupId": "org.gbif.metrics", "host": "apps2.gbif.org", "httpAdminPort": 9011, "httpPort": 9010, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.19"}, {"artifactId": "registry-ws", "groupId": "org.gbif.registry", "host": "apps2.gbif.org", "httpAdminPort": 9019, "httpPort": 9014, "stopSecret": "stop", "timestamp": 1424946197, "version": "2.25"}, {"artifactId": "checklistbank-nub-ws", "groupId": "org.gbif.checklistbank", "host": "apps2.gbif.org", "httpAdminPort": 9007, "httpPort": 9006, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.11"}, {"artifactId": "geocode-ws", "groupId": "org.gbif.geocode", "host": "apps2.gbif.org", "httpAdminPort": 9016, "httpPort": 9015, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.6"}, {"artifactId": "crawler-ws", "groupId": "org.gbif.crawler", "host": "apps2.gbif.org", "httpAdminPort": 9009, "httpPort": 9008, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.10"}, {"artifactId": "image-cache", "groupId": "org.gbif", "host": "apps2.gbif.org", "httpAdminPort": 9018, "httpPort": 9017, "stopSecret": "stop", "timestamp": 1424354974, "version": "0.8"}, {"artifactId": "checklistbank-ws", "groupId": "org.gbif.checklistbank", "host": "apps2.gbif.org", "httpAdminPort": 9005, "httpPort": 9004, "stopSecret": "stop", "timestamp": 1424354974, "version": "2.11"}]}} TASK: [varnish | setting the domain variable] ********************************* ESTABLISH CONNECTION FOR USER: root ok: [api.gbif.org] => {"ansible_facts": {"DOMAIN": "gbif.org"}} TASK: [varnish | generate varnish backends file] ****************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790 && echo $HOME/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790' EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'rc=flag; [ -r "/etc/varnish/backends.vcl" ] || rc=2; [ -f "/etc/varnish/backends.vcl" ] || rc=1; [ -d "/etc/varnish/backends.vcl" ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} /etc/varnish/backends.vcl" && exit 0; (python -c '"'"'import hashlib; print(hashlib.sha1(open("/etc/varnish/backends.vcl", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (python -c '"'"'import sha; print(sha.sha(open("/etc/varnish/backends.vcl", "rb").read()).hexdigest())'"'"' 2>/dev/null) || (echo "0 /etc/varnish/backends.vcl")' PUT /tmp/tmptFS5Ai TO /root/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790/source PUT /tmp/tmpQ6xOB3 TO /root/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790/copy EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790/copy; rm -rf /root/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790/ >/dev/null 2>&1' changed: [api.gbif.org] => {"changed": true, "checksum": "75296810f66e54ca3d0572c581f147cd2a2152d1", "dest": "/etc/varnish/backends.vcl", "gid": 0, "group": "root", "md5sum": "9bb4e4b1bd33cc04e84cae3de12f628e", "mode": "0644", "owner": "root", "size": 4808, "src": "/root/.ansible/tmp/ansible-tmp-1424946322.14-90683560679790/source", "state": "file", "uid": 0} TASK: [varnish | generate varnish backends file] ****************************** ESTABLISH CONNECTION FOR USER: root EXEC ssh -C -tt -q -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/var/lib/jenkins/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/var/lib/jenkins/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 api.gbif.org /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1424946322.84-31619098389085 && echo $HOME/.ansible/tmp/ansible-tmp-1424946322.84-31619098389085' fatal: [api.gbif.org] => {'msg': 'AnsibleUndefinedVariable: One or more undefined variables: the inline if-expression on line 63 evaluated to false and no else section was defined.', 'failed': True} fatal: [api.gbif.org] => {'msg': 'AnsibleUndefinedVariable: One or more undefined variables: the inline if-expression on line 63 evaluated to false and no else section was defined.', 'failed': True} FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/var/lib/jenkins/services.retry api.gbif.org : ok=13 changed=3 unreachable=1 failed=0 prodapps2-vh.gbif.org : ok=59 changed=26 unreachable=0 failed=0 Build step 'GBIF Deployment' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE