See <http://ci.chorem.org/jenkins/job/bow-demo-latest/6/changes> Changes: [Benjamin POUSSIN] fix charset ------------------------------------------ [...truncated 606 lines...] [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] bow ................................................ SUCCESS [ 36.819 s] [INFO] BOW :: Chromium extension .......................... SUCCESS [ 21.267 s] [INFO] BOW UI ............................................. SUCCESS [05:46 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:43 min [INFO] Finished at: 2015-07-23T01:35:51+02:00 [INFO] Final Memory: 103M/320M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [bow-demo-latest] $ /bin/sh -xe /var/local/forge/exec/tomcat-chorem.org/temp/hudson3333407327784704159.sh + /opt/ci_jobs_scripts/deploy-to-demo.sh latest 7 bow bow.properties <http://ci.chorem.org/jenkins/job/bow-demo-latest/ws/> cat: <http://ci.chorem.org/jenkins/job/bow-demo-latest/ws/target/collect-deploy-files.txt>: No such file or directory curl -s -F "TOMCAT_INSTANCE=latest" -F "TOMCAT_VERSION=7" -F "APP_NAME=bow" -F "CONFIG_FILE_NAME=bow.properties" http://demo-ng.codelutin.com/deploy2.cgi Error while deploying to demo : <h1>Deploy summary</h1> <ul> <li>application bow</li> <li>tomcat 7 latest</li> <li>war None</li> <li>conf /var/local/demo/app/bow/latest/bow.properties -> /var/local/demo/app/bow/latest/conf/20150721-bow.properties</li> </ul> <!--: spam Content-Type: text/html <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> --> </font> </font> </font> </script> </object> </blockquote> </pre> </table> </table> </table> </table> </table> </font> </font> </font><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#6622aa"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><class 'subprocess.CalledProcessError'></strong></big></big></font></td
<td align=right valign=bottom <font color="#ffffff" face="helvetica, arial">Python 2.7.9: /usr/bin/python<br>Tue Jul 21 01:37:58 2015</font></td></tr></table>
<p>A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.</p> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///var/local/demo/app/deploy2.cgi">/var/local/demo/app/deploy2.cgi</a> in <strong><module></strong>()</td></tr> <tr><td><font color="#909090"><tt> <small> 126</small> logger = open("/tmp/deploy.sh-%s-%s-%s.log" % (TOMCAT_VERSION, TOMCAT_INSTANCE, APP_NAME), 'w')<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 127</small> <br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 128</small> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 129</small> <br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 130</small> # DO NOT REMOVE THIS, USED BY SOME CLIENT TO CHECK DEPLOY WAS OK"<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><strong>subprocess</strong> = <module 'subprocess' from '/usr/lib/python2.7/subprocess.pyc'>, subprocess.<strong>check_call</strong> = <function check_call>, <strong>TOMCAT_HOME</strong> = '/var/local/demo/tomcat/tomcat-7-latest', <strong>WAR_LINK</strong> = '/var/local/demo/app/bow/latest/bow-latest.war', <strong>CONF_LINK</strong> = '/var/local/demo/app/bow/latest/bow.properties', shell <em>undefined</em>, <em>builtin</em> <strong>True</strong> = True, executable <em>undefined</em>, stdout <em>undefined</em>, <strong>logger</strong> = <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, stderr <em>undefined</em></font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.7/subprocess.py">/usr/lib/python2.7/subprocess.py</a> in <strong>check_call</strong>(*popenargs=(['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'],), **kwargs={'executable': '/bin/bash', 'shell': True, 'stderr': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, 'stdout': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>})</td></tr> <tr><td><font color="#909090"><tt> <small> 538</small> if cmd is None:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 539</small> cmd = popenargs[0]<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 540</small> raise CalledProcessError(retcode, cmd)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 541</small> return 0<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 542</small> <br> </tt></font></td></tr> <tr><td><small><font color="#909090"><em>global</em> <strong>CalledProcessError</strong> = <class 'subprocess.CalledProcessError'>, <strong>retcode</strong> = 1, <strong>cmd</strong> = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties']</font></small></td></tr></table><p><strong><class 'subprocess.CalledProcessError'></strong>: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 <br><tt><small> </small> </tt>args = () <br><tt><small> </small> </tt>cmd = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'] <br><tt><small> </small> </tt>message = '' <br><tt><small> </small> </tt>output = None <br><tt><small> </small> </tt>returncode = 1 <!-- The above is a description of an error in a Python program, formatted for a Web browser because the 'cgitb' module was enabled. In case you are not reading this in a Web browser, here is the original traceback: Traceback (most recent call last): File "/var/local/demo/app/deploy2.cgi", line 128, in <module> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 --> <h1>Deploy summary</h1> <ul> <li>application bow</li> <li>tomcat 7 latest</li> <li>war None</li> <li>conf /var/local/demo/app/bow/latest/bow.properties -> /var/local/demo/app/bow/latest/conf/20150722-bow.properties</li> </ul> <!--: spam Content-Type: text/html <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> --> </font> </font> </font> </script> </object> </blockquote> </pre> </table> </table> </table> </table> </table> </font> </font> </font><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#6622aa"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><class 'subprocess.CalledProcessError'></strong></big></big></font></td
<td align=right valign=bottom <font color="#ffffff" face="helvetica, arial">Python 2.7.9: /usr/bin/python<br>Wed Jul 22 01:40:23 2015</font></td></tr></table>
<p>A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.</p> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///var/local/demo/app/deploy2.cgi">/var/local/demo/app/deploy2.cgi</a> in <strong><module></strong>()</td></tr> <tr><td><font color="#909090"><tt> <small> 126</small> logger = open("/tmp/deploy.sh-%s-%s-%s.log" % (TOMCAT_VERSION, TOMCAT_INSTANCE, APP_NAME), 'w')<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 127</small> <br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 128</small> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 129</small> <br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 130</small> # DO NOT REMOVE THIS, USED BY SOME CLIENT TO CHECK DEPLOY WAS OK"<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><strong>subprocess</strong> = <module 'subprocess' from '/usr/lib/python2.7/subprocess.pyc'>, subprocess.<strong>check_call</strong> = <function check_call>, <strong>TOMCAT_HOME</strong> = '/var/local/demo/tomcat/tomcat-7-latest', <strong>WAR_LINK</strong> = '/var/local/demo/app/bow/latest/bow-latest.war', <strong>CONF_LINK</strong> = '/var/local/demo/app/bow/latest/bow.properties', shell <em>undefined</em>, <em>builtin</em> <strong>True</strong> = True, executable <em>undefined</em>, stdout <em>undefined</em>, <strong>logger</strong> = <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, stderr <em>undefined</em></font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.7/subprocess.py">/usr/lib/python2.7/subprocess.py</a> in <strong>check_call</strong>(*popenargs=(['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'],), **kwargs={'executable': '/bin/bash', 'shell': True, 'stderr': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, 'stdout': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>})</td></tr> <tr><td><font color="#909090"><tt> <small> 538</small> if cmd is None:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 539</small> cmd = popenargs[0]<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 540</small> raise CalledProcessError(retcode, cmd)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 541</small> return 0<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 542</small> <br> </tt></font></td></tr> <tr><td><small><font color="#909090"><em>global</em> <strong>CalledProcessError</strong> = <class 'subprocess.CalledProcessError'>, <strong>retcode</strong> = 1, <strong>cmd</strong> = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties']</font></small></td></tr></table><p><strong><class 'subprocess.CalledProcessError'></strong>: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 <br><tt><small> </small> </tt>args = () <br><tt><small> </small> </tt>cmd = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'] <br><tt><small> </small> </tt>message = '' <br><tt><small> </small> </tt>output = None <br><tt><small> </small> </tt>returncode = 1 <!-- The above is a description of an error in a Python program, formatted for a Web browser because the 'cgitb' module was enabled. In case you are not reading this in a Web browser, here is the original traceback: Traceback (most recent call last): File "/var/local/demo/app/deploy2.cgi", line 128, in <module> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 --> <h1>Deploy summary</h1> <ul> <li>application bow</li> <li>tomcat 7 latest</li> <li>war None</li> <li>conf /var/local/demo/app/bow/latest/bow.properties -> /var/local/demo/app/bow/latest/conf/20150723-bow.properties</li> </ul> <!--: spam Content-Type: text/html <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> <body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> --> </font> </font> </font> </script> </object> </blockquote> </pre> </table> </table> </table> </table> </table> </font> </font> </font><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#6622aa"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><class 'subprocess.CalledProcessError'></strong></big></big></font></td
<td align=right valign=bottom <font color="#ffffff" face="helvetica, arial">Python 2.7.9: /usr/bin/python<br>Thu Jul 23 01:38:48 2015</font></td></tr></table>
<p>A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.</p> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///var/local/demo/app/deploy2.cgi">/var/local/demo/app/deploy2.cgi</a> in <strong><module></strong>()</td></tr> <tr><td><font color="#909090"><tt> <small> 126</small> logger = open("/tmp/deploy.sh-%s-%s-%s.log" % (TOMCAT_VERSION, TOMCAT_INSTANCE, APP_NAME), 'w')<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 127</small> <br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 128</small> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 129</small> <br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 130</small> # DO NOT REMOVE THIS, USED BY SOME CLIENT TO CHECK DEPLOY WAS OK"<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><strong>subprocess</strong> = <module 'subprocess' from '/usr/lib/python2.7/subprocess.pyc'>, subprocess.<strong>check_call</strong> = <function check_call>, <strong>TOMCAT_HOME</strong> = '/var/local/demo/tomcat/tomcat-7-latest', <strong>WAR_LINK</strong> = '/var/local/demo/app/bow/latest/bow-latest.war', <strong>CONF_LINK</strong> = '/var/local/demo/app/bow/latest/bow.properties', shell <em>undefined</em>, <em>builtin</em> <strong>True</strong> = True, executable <em>undefined</em>, stdout <em>undefined</em>, <strong>logger</strong> = <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, stderr <em>undefined</em></font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.7/subprocess.py">/usr/lib/python2.7/subprocess.py</a> in <strong>check_call</strong>(*popenargs=(['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'],), **kwargs={'executable': '/bin/bash', 'shell': True, 'stderr': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>, 'stdout': <open file '/tmp/deploy.sh-7-latest-bow.log', mode 'w'>})</td></tr> <tr><td><font color="#909090"><tt> <small> 538</small> if cmd is None:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 539</small> cmd = popenargs[0]<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 540</small> raise CalledProcessError(retcode, cmd)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 541</small> return 0<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 542</small> <br> </tt></font></td></tr> <tr><td><small><font color="#909090"><em>global</em> <strong>CalledProcessError</strong> = <class 'subprocess.CalledProcessError'>, <strong>retcode</strong> = 1, <strong>cmd</strong> = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties']</font></small></td></tr></table><p><strong><class 'subprocess.CalledProcessError'></strong>: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 <br><tt><small> </small> </tt>args = () <br><tt><small> </small> </tt>cmd = ['/opt/script-tools/tomcat/deploy.sh /var/local/de...war /var/local/demo/app/bow/latest/bow.properties'] <br><tt><small> </small> </tt>message = '' <br><tt><small> </small> </tt>output = None <br><tt><small> </small> </tt>returncode = 1 <!-- The above is a description of an error in a Python program, formatted for a Web browser because the 'cgitb' module was enabled. In case you are not reading this in a Web browser, here is the original traceback: Traceback (most recent call last): File "/var/local/demo/app/deploy2.cgi", line 128, in <module> subprocess.check_call(['/opt/script-tools/tomcat/deploy.sh %s %s %s' % (TOMCAT_HOME, WAR_LINK, CONF_LINK)], shell=True, executable='/bin/bash', stdout=logger, stderr=logger) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '['/opt/script-tools/tomcat/deploy.sh /var/local/demo/tomcat/tomcat-7-latest /var/local/demo/app/bow/latest/bow-latest.war /var/local/demo/app/bow/latest/bow.properties']' returned non-zero exit status 1 --> Build step 'Execute shell' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 7 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 2 second