<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=139590313-07032006><FONT face=Arial color=#0000ff size=2>Hi
Matt,</FONT></SPAN></DIV>
<DIV><SPAN class=139590313-07032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=139590313-07032006><FONT face=Arial color=#0000ff size=2>
Sorry this has taken so long to respond. I added an XML example using the
new Dart format to the SVN repository: ResultData/TestNewFormat.xml.gz.
It's fairly long, and should include almost every type of Result (may not have
images).</FONT></SPAN></DIV>
<DIV><SPAN class=139590313-07032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=139590313-07032006><FONT face=Arial color=#0000ff
size=2>-dan</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
dart-bounces+blezek=crd.ge.com@public.kitware.com
[mailto:dart-bounces+blezek=crd.ge.com@public.kitware.com]<B>On Behalf Of
</B>Matt England<BR><B>Sent:</B> Tuesday, March 07, 2006 1:11 AM<BR><B>To:</B>
cmake@cmake.org; dart@public.kitware.com<BR><B>Cc:</B>
mengland@mengland.net<BR><B>Subject:</B> [Dart] Looking to create working
ctest-to-dart-server link<BR><BR></FONT></DIV><FONT
face="Courier New, Courier">Hello ctest (CMake) and Dart
communities-<BR><BR>My group is still trying to get a working
ctest-client-to-dart-server system. I have not been working with this
personally, but 2 of my coworkers have, details below.<BR><BR>My understanding
is that we are still trying to get a proper XML format for the client to send
a properly-formatted message to send to a Dart server. I haven't yet had
my guys go parse through the server guts to try and discover this format (as
per what Scott suggested), but we may try that tomorrow.<BR><BR>In the
meantime, if anyone can provide any perspective, including working
XML-client-side file formats, we would certainly appreciate
it.<BR><BR>Regards,<BR>-Matt<BR><BR><BR>
<BLOCKQUOTE class=cite cite="" type="cite">X-Apparently-To:
mengland@cleversafe.com via 68.142.199.180; Fri, 03 Mar 2006 15:30:36
-0800<BR>X-Originating-IP: [68.142.229.216]<BR>Authentication-Results:
mta102.biz.mail.mud.yahoo.com<BR> from=iit.edu; domainkeys=neutral (no
sig)<BR>Date: Fri, 03 Mar 2006 17:30:20 -0600<BR>From: prashasta gujrati
<gujrpra@iit.edu><BR>User-Agent: Mozilla Thunderbird 1.0.7
(Windows/20050923)<BR>X-Accept-Language: en-us, en<BR>To:
mengland@cleversafe.com<BR>Subject: [Fwd: FW: [Dart] real quick Dart
setup]<BR><BR>Hey Matt,<BR><BR>As a further addition to the console error
reported by Vignesh, I'm sure that the Results.xml file is being sent by the
client ( message to this effect is given as<BR>0 [main] INFO dart.DartClient
- Starting DartClient<BR>54 [main] INFO dart.DartClient - Length: 1231<BR>)
and also that this results.xml is received at the server as a file is made
in TestProject/Temporary/file3.xml.gz where TestProject is the project
created for reporting the test results. When unzipped this file has the same
content as the content of results.xml. Also, the attempt at parsing is not
done as soon as the file is sent but the file is received and kept in a temp
location and is picked up when the parsing job is invoked (probably at some
fixed frequency). At this stage, we get the reported error on the console
which in the error stack has "java.io.UTFDataFormatException: Invalid byte 1
of 1-byte UTF-8 sequence." apart from other messages. I might be wrong
completly but it looks like the file3.xml.gz is being parsed as it is
without first unzipping it.<BR><BR>We still await a response from the
mailing list on our query...<BR><BR>-prashasta<BR>Return-path:
<manivig@iit.edu><BR>Received: from
conversion-daemon.students2.iit.edu by students2.iit.edu<BR> (iPlanet
Messaging Server 5.2 Patch 2 (built Jul 14 2004))<BR> id
<0IVK00E01QFZTE@students2.iit.edu> (original mail from
manivig@iit.edu)<BR> for gujrpra@iit.edu; Fri, 03 Mar 2006 17:04:59
-0600 (CST)<BR>Received: from Cleversafe1 (dhcp22.iitri.iit.edu
[216.47.134.22])<BR> by students2.iit.edu<BR> (iPlanet Messaging
Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP
id<BR> <0IVK00DZ1QSB43@students2.iit.edu> for gujrpra@iit.edu;
Fri,<BR> 03 Mar 2006 17:04:59 -0600 (CST)<BR>Date: Fri, 03 Mar 2006
17:04:56 -0600<BR>From: "Vignesh M.P.N." <manivig@iit.edu><BR>Subject:
FW: [Dart] real quick Dart setup<BR>To: gujrpra@iit.edu<BR>Message-id:
<003401c63f16$e3662370$8f00a8c0@Cleversafe1><BR>MIME-version:
1.0<BR>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180<BR>X-Mailer:
Microsoft Office Outlook 11<BR>Content-type: multipart/mixed;
boundary="Boundary_(ID_Ds5H+lq9u8UR/M0fFKdLxw)"<BR>Thread-index:
AcY8vrjj01BtktLlTOWTRn0zoTn1qAAAIgIgAAFw/MAAlHRrQA==<BR>Original-recipient:
rfc822;gujrpra@iit.edu<BR><BR> <BR> <BR><BR>From:
dart-bounces+manivig=iit.edu@public.kitware.com [<A
href="mailto:dart-bounces+manivig=iit.edu@public.kitware.com"
eudora="autourl">mailto:dart-bounces+manivig=iit.edu@public.kitware.com</A>]
On Behalf Of Vignesh M.P.N.<BR>Sent: Tuesday, February 28, 2006 6:20
PM<BR>To: dart@public.kitware.com<BR>Subject: RE: [Dart] real quick Dart
setup<BR> <BR>This was the console output at the server, after I ran
the client.<BR> <BR><28 Feb 2006 18:01:23,187>
[SocketListener0-1] DEBUG
dart.server.Project<BR>
TestProject: Queued: dart.server.task.XMLResultProcessor<BR>Properties:
URL=file\:/C\:/Cleversafe/Dart/Dart0.6.0/TestProject/Temporary/File0<BR>.xml.gz<BR>DeleteWhenDigested=true<BR> <BR><28
Feb 2006 18:10:00,062> [SimpleThreadPoolWorker-3] DEBUG
dart.server.task.Que<BR>ueManager<BR>
TestProject: Processing task 1 / 100<BR><28 Feb 2006 18:10:00,062>
[SimpleThreadPoolWorker-3] DEBUG
dart.server.task.Que<BR>ueManager<BR>
TestProject: Found: dart.server.task.XMLResultProcessor Priority:
5<BR>Properties:
URL=file\:/C\:/Cleversafe/Dart/Dart0.6.0/TestProject/Temporary/File0<BR>.xml.gz<BR>DeleteWhenDigested=true<BR> <BR><28
Feb 2006 18:10:01,000> [SimpleThreadPoolWorker-3] ERROR
dart.server.task.XML<BR>ResultProcessor<BR>
TestProject: Failed to parse file: <A
href="file://C:\Cleversafe\Dart\Dart0.6.0\Te"
eudora="autourl">file:/C:/Cleversafe/Dart/Dart0.6.0/Te</A><BR>stProject/Temporary/File0.xml.gz<BR>java.io.UTFDataFormatException:
Invalid byte 1 of 1-byte UTF-8
sequence.<BR> at
org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown
Source)<BR> at
org.apache.xerces.impl.io.UTF8Reader.read(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLEntityScanner.load(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLEntityScanner.peekChar(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLScanner.scanComment(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unk<BR>nown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent<BR>Dispatcher.dispatch(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un<BR>known
Source)<BR> at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)<BR> at
org.apache.commons.digester.Digester.parse(Digester.java:1591)<BR>
at
dart.server.task.XMLResultProcessor.execute(XMLResultProcessor.java:4<BR>9)<BR>
at
dart.server.task.QueueManager.execute(QueueManager.java:61)<BR>
at
dart.server.task.ScheduledTask.execute(ScheduledTask.java:36)<BR>
at
org.quartz.core.JobRunShell.run(JobRunShell.java:191)<BR>
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j<BR>ava:516)<BR><28
Feb 2006 18:10:01,000> [SimpleThreadPoolWorker-3] ERROR
dart.server.task.Que<BR>ueManager<BR>
TestProject: Failed to create or execute queued
task<BR>java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8
sequence.<BR> at
org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown
Source)<BR> at
org.apache.xerces.impl.io.UTF8Reader.read(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLEntityScanner.load(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLEntityScanner.peekChar(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLScanner.scanComment(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanComment(Unk<BR>nown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent<BR>Dispatcher.dispatch(Unknown
Source)<BR> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un<BR>known
Source)<BR> at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)<BR> at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)<BR> at
org.apache.commons.digester.Digester.parse(Digester.java:1591)<BR>
at
dart.server.task.XMLResultProcessor.execute(XMLResultProcessor.java:4<BR>9)<BR>
at
dart.server.task.QueueManager.execute(QueueManager.java:61)<BR>
at
dart.server.task.ScheduledTask.execute(ScheduledTask.java:36)<BR>
at
org.quartz.core.JobRunShell.run(JobRunShell.java:191)<BR>
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j<BR>ava:516)<BR><28
Feb 2006 18:10:01,421> [SimpleThreadPoolWorker-3] DEBUG
dart.server.task.Que<BR>ueManager<BR>
TestProject: TaskQueue is
empty<BR> <BR> <BR>Thanks<BR>Vignesh.<BR> <BR><BR>From:
dart-bounces+manivig=iit.edu@public.kitware.com [<A
href="mailto:dart-bounces+manivig=iit.edu@public.kitware.com"
eudora="autourl">mailto:dart-bounces+manivig=iit.edu@public.kitware.com</A>]
On Behalf Of Vignesh M.P.N.<BR>Sent: Tuesday, February 28, 2006 5:35
PM<BR>To: dart@public.kitware.com<BR>Subject: RE: [Dart] real quick Dart
setup<BR> <BR>This was the console output when I ran the
client.<BR> <BR>0 [main] INFO dart.DartClient - Starting
DartClient<BR>32 [main] INFO dart.DartClient - Length:
1549<BR> <BR>Thanks<BR>Vignesh.<BR> <BR><BR>From: Matt England [<A
href="mailto:mengland@mengland.net"
eudora="autourl">mailto:mengland@mengland.net</A>] <BR>Sent: Tuesday,
February 28, 2006 5:28 PM<BR>To: Vignesh M.P.N.<BR>Cc:
dart@public.kitware.com<BR>Subject: RE: [Dart] real quick Dart
setup<BR> <BR>At 2/28/2006 04:24 PM, Vignesh M.P.N. wrote:<BR>I was
able to successfully complete the Quick installand view the empty
dashboard.<BR>I also ran the dart client using java -jar DartClient.jar
TestProject Results.xml, while Results.xml is the XML format in "Custom Test
Results/XML format".<BR>But I dont find any change entries in the dashboard
after running the client.<BR>Am I missing something here?<BR><BR>Vignesh
tells me he's tried to XML contents, the one from the .pdf instructions, the
other from the XML file straight off the svn server. Are both these
files the "Dart Classic" format?<BR><BR>Will Dart Classic XML formats not
show up in the Dart server...and thus could this explain the fact that
Vignesh doesn't see the messages on the server?<BR><BR>Also,
Vignesh-<BR><BR>Please provide the logs and/or console output that shows the
client actually does make contact with the server, and that this simply
isn't a network (eg, firewall, wrong IP address, etc) problem.<BR><BR>(For
what it's worth: Vignesh reports to me, so if it sounds like I'm bossing him
around, it's because I'm his boss. I wanted to explain why I was
breaking general email etiquette.
:)<BR><BR>Thanks,<BR>-Matt<BR></FONT></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>