<div class="gmail_quote">On Tue, Mar 1, 2011 at 10:32 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Here's a failing VTK test from today's dashboard that is showing images.<br><br><a href="http://www.cdash.org/CDash/testDetails.php?test=85717330&build=884368" target="_blank">http://www.cdash.org/CDash/testDetails.php?test=85717330&build=884368</a><br>


<br>I have not traced anything at all to see what's happening between client and CDash on <a href="http://www.cdash.org/CDash" target="_blank">www.cdash.org/CDash</a>, but just thought I would pass along an example of images that are being (apparently) pushed through all the way to CDash from a currently failing test...<div>

<div></div><div><br></div></div></blockquote><div>I figured out how the image stuff is still working.  Our XML parser doesn't decode the base64 value, it stores the image in the database in its base64 encoding.  The decoding is done when the image is viewed, in testDetails.php.  We should look at the Test.xml being uploaded for that VTK dashboard and see the XML they're using to upload the images.</div>
<div><br></div><div>-Zach</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<br><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 10:02 AM, Johan Björk <span dir="ltr"><<a href="mailto:phb@spotify.com" target="_blank">phb@spotify.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


Actually, seems to be even more things that are broken in that area,<div><br></div><div>CTest propery ATTACHED_FILES gets uploaded to cdash with the following xml</div><div><div><NamedMeasurement name="Attached File" encoding="base64" compression="tar/gzip" filename="foo.c" type="file">, then the Value is a Base64 encoded string.</div>



<div>In CDash it just gets shown as a undecoded Base64 string.</div></div><div><br></div><font color="#888888"><div>/Johan</div></font><div><div></div><div><div><br></div><div><br><div><br><div class="gmail_quote">
On Tue, Mar 1, 2011 at 3:04 PM, Zach Mullen <span dir="ltr"><<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div class="gmail_quote"><div><div></div><div>On Tue, Mar 1, 2011 at 8:24 AM, Johan Björk <span dir="ltr"><<a href="mailto:phb@spotify.com" target="_blank">phb@spotify.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hey guys,<div><br></div><div>I noticed that there used to be support in CDash for attaching images, but it was removed (at least in part) in svn commit r2616.</div><div>Anyone (Zack?) know if it was functional? We are hand-assembling our Test.xml currently, so that there is no ctest support would not be a problem.</div>





<div><br></div><div>Cheers</div><div>/Johan</div><font color="#888888"><div><br></div></font></blockquote></div></div><div>I've looked through the code and it looks like you're right -- CDash "appears" to still support adding images as named measurements, but it looks like the image is never getting decoded out of base64.  The function commented out in r2616 was never being called anyway, even though it should be.  I looked all the way back in the svn log until the file was created there, and the function was there, so I'm at a loss as to who wrote it or whether it was ever called at all.  JJ, do you know?</div>




<div><br></div><div>Doesn't the VTK or ITK dashboard have tests that upload images?  Does anyone know if they are still working, or whether this support was intentionally removed at some point?</div><div><br></div><div>




Thanks,</div><div><br></div><div>-- <br>Zach Mullen<div>R & D Engineer<br>Kitware Inc.<br>(919) 969-6990 x314</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">




<font color="#888888"><div></div><div><br></div>
</font><br>_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br></blockquote></div><br><br clear="all"><br><br><br>
</blockquote></div><br></div></div>
</div></div><br>_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br></blockquote></div></div></div></blockquote></div><br><br>