See <http://ci.chorem.org/jenkins/job/bow-demo-latest/7/changes> Changes: [Benjamin POUSSIN] add support to share with user without bow login [Benjamin POUSSIN] add markdown processor to process bookmark description (in safeMode) ------------------------------------------ [...truncated 690 lines...] ['/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 --> <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/20150729-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 29 01:30:57 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 10 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds