<div dir="ltr">Hi Thomas,<div><br></div><div>Thanks for reaching out. I'll check locally to see if I can reproduce the issue with ctest_upload() that you're describing.</div><div><br></div><div>For paid support options, please see the following link: <a href="https://www.kitware.com/support">https://www.kitware.com/support</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 9, 2022 at 11:44 AM Thomas Rhiem <<a href="mailto:T.Rhiem@magmasoft.de">T.Rhiem@magmasoft.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-5422395921925294608WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We have some problems submitting results to a CDash dashboard server. We assume, that it is caused by a bug in CDash.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">First:<u></u><u></u></p>
<p class="MsoNormal">The link to the bug tracker (<a href="https://public.kitware.com/Bug/" target="_blank">https://public.kitware.com/Bug/</a>) at the CDash FAQ page (<a href="https://www.paraview.org/Wiki/CDash:FAQ#I_found_a_bug,_what_should_I_do" target="_blank">https://www.paraview.org/Wiki/CDash:FAQ#I_found_a_bug,_what_should_I_do</a>?)
is broken (404).<u></u><u></u></p>
<p class="MsoNormal">It should be updated to the github page.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">the environment: <u></u><u></u></p>
<p class="MsoNormal">We had 2 an older CDash (CDash 3.0.x ) server running and a newer one (<span class="gmail-m_-5422395921925294608pull-right">CDash v3.0.3)
</span>migrated from the older one.<u></u><u></u></p>
<p class="MsoNormal">Our build is splitted into several build and test stages. For each stage we upload the log-file(s)<u></u><u></u></p>
<p class="MsoNormal">with ctest_upload(). <u></u><u></u></p>
<p class="MsoNormal">On the old server we sometimes got http error 500 errors, on the newer server we regularly (close to always) get this error for our central build dashboard (centralized nightly/daily build), while we see this type of failure in our developer
dashboard (experimental) in rare cases. Most of the time the uploaded file is there (or even 4 times there, cause a retry count of 3 is used), but sometimes it is missing.<u></u><u></u></p>
<p class="MsoNormal">Exploring the logs, I found, that a file could not be removed:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">172.18.0.3 - - [09/Aug/2022:14:13:37 +0000] "PUT /submit.php?project=CentralBuild&FileName=avdi0de002.corpdir.zz___dev_MAIN_CI_LATEST_FASTLANE-22376%203.%20gen-install___20220808-2300-Nightly___XML___Upload.xml&build=dev_MAIN_CI_LATEST_FASTLANE-22376%203.%20gen-install&site=avdi0de002.corpdir.zz&stamp=20220808-2300-Nightly&MD5=7d9ccdd737a3e06618ad38236dc15bc0
HTTP/1.1" 500 2673<u></u><u></u></p>
<p class="MsoNormal">172.18.0.3 - - [09/Aug/2022:14:13:41 +0000] "GET /ajax/dailyupdatescurl.php?projectid=2 HTTP/1.1" 200 1065<u></u><u></u></p>
<p class="MsoNormal">[2022-08-09 16:13:41] development.INFO: Upload quota exceeded, removing old files {"function":"Project::CullUploadedFiles","project_id":"2","build_id":"67147"}<u></u><u></u></p>
<p class="MsoNormal">[2022-08-09 16:13:41] development.ERROR: unlink(/home/kitware/cdash/app/cdash/public/upload/ca8a9ec016d2c0d9f47117704b851de592a3a173/bin-install.log): No such file or directory {"exception":"[object] (ErrorException(code: 0): unlink(/home/kitware/cdash/app/cdash/public/upload/ca8a9ec016d2c0d9f47117704b851de592a3a173/bin-install.log):
No such file or directory at /home/kitware/cdash/app/cdash/include/log.php:30)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Further exploring the logs, I found that there are about 15 messages to delete this single file (namely /home/kitware/cdash/app/cdash/public/upload/ca8a9ec016d2c0d9f47117704b851de592a3a173/bin-install.log). I assume that the first try
to remove the file is successful, so all further tries failed (cause the file is no longer there). But why should the same file be deleted so often? Also Note: cause of the RETRY_COUNT value of 3 for the submit the log files are transferred 4 times and each
file has the same SHA-1 value! (so is the same physical file on disk) (but this might only explain 4 tries at most).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are interested in solving this issue with your help. Is there a possibility to get commercial support for CDash? If so, can you send us your support conditions and a quote.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal">T.Rhiem<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p style="font-size:10pt;font-family:Arial"> </p>
<table style="font-size:11px;height:245px;font-family:Arial;width:740px;line-height:17px" cellspacing="0" cellpadding="0" width="740" border="0">
<colgroup><col width="90"><col><col></colgroup>
<tbody>
<tr>
<td style="width:194px;border-right-style:solid;border-right-color:rgb(213,17,48);line-height:5px" valign="middle" width="90" align="center">
<p style="font-size:11px;font-family:Arial"><img style="height: 170px; width: 170px;" border="0" src="cid:1829362cafb4755dc7a1" width="170" height="170"></p>
</td>
<td style="padding-left:40px" valign="top">
<p style="font-size:13px;font-family:Arial;font-weight:bold;color:rgb(233,93,15);margin:0px 0px 10px">
<font color="#1c0e0a"><span style="font-size:11pt">Thomas Rhiem</span><br>
<span style="font-weight:normal;color:rgb(0,0,0)"><span style="font-size:9pt">Software Development</span></span></font></p>
<p style="font-size:13px;font-family:Arial;font-weight:bold;color:rgb(233,93,15);margin:0px 0px 10px">
<font color="#1c0e0a"><span style="font-weight:normal;color:rgb(0,0,0)"><strong><span style="font-size:11pt">MAGMA Gießereitechnologie GmbH</span></strong></span></font></p>
<p style="font-size:13px;font-family:Arial;font-weight:bold;color:rgb(233,93,15);margin:0px 0px 10px">
<font color="#1c0e0a"><span style="text-decoration:none;font-weight:normal;color:rgb(0,0,0)">P: +49 241 88901 236 <br>
Kackertstrasse 16-18, 52072 Aachen, Germany <br>
<a style="text-decoration:none;color:rgb(213,17,48)" href="http://www.magmasoft.de" target="_blank">www.magmasoft.de</a><br>
<a style="text-decoration:none;color:rgb(213,17,48)" href="mailto:T.Rhiem@magmasoft.de" target="_blank">T.Rhiem@magmasoft.de</a></span></font></p>
</td>
</tr>
<tr>
<td style="font-size:8px;font-family:Verdana;color:rgb(105,105,105);padding-bottom:10px;padding-top:10px;line-height:10px" width="600" colspan="3">
<p style="font-size:8px;font-family:Verdana"></p>
<hr>
<span style="font-family:Arial"><strong><span style="font-size:8pt"><font color="#d51130">GERMANY</font> ● USA ● BRAZIL ● SINGAPORE ● SOUTH KOREA ● CHINA ● INDIA ● TURKEY ● CZECH REPUBLIC</span></strong></span>
<p style="font-size:8px;font-family:Verdana"></p>
<p></p>
</td>
</tr>
</tbody>
</table>
<p style="font-size:10pt;font-family:ARIAL"><strong><img style="height: 161px; width: 500px;" border="0" src="cid:1829362cafb65bb5af22" width="500" height="161"></strong></p>
<p style="font-size:10pt;font-family:ARIAL">International MAGMA User Meeting 2022 - October 19-21 | Holiday Inn Munich - City Centre</p>
<p style="font-size:10pt;font-family:ARIAL"><font color="#bababa">MAGMA Gießereitechnologie GmbH | Kackertstraße 16-18, 52072 Aachen, Germany | Legal form: GmbH, Register court: Aachen HRB 3912, Value added tax identification number: DE121745780 | Management:
Dr. Marc C. Schneider (CEO and President), Dipl.-Ing. Mathieu Weber (Managing Director)</font></p>
</div>
_______________________________________________<br>
CDash mailing list<br>
<a href="mailto:CDash@public.kitware.com" target="_blank">CDash@public.kitware.com</a><br>
<a href="https://public.kitware.com/cgi-bin/mailman/listinfo/cdash" rel="noreferrer" target="_blank">https://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
</blockquote></div>