[Buildbot-commits] [SPAM] Re: [Buildbot] #753: xmlrpc_getBuild fails for failed builds

Buildbot buildbot-devel at lists.sourceforge.net
Fri Apr 9 05:04:44 UTC 2010


#753: xmlrpc_getBuild fails for failed builds
-------------------+--------------------------------------------------------
Reporter:  clown   |       Owner:  dustin  
    Type:  defect  |      Status:  assigned
Priority:  major   |   Milestone:  0.8.0   
 Version:  0.7.12  |    Keywords:          
-------------------+--------------------------------------------------------

Comment(by dustin):

 OK, I can't replicate this, but I don't know *too* much about XMLRPC.  I'm
 using a JavaScript library (http://code.google.com/p/json-xml-rpc) to
 trigger XMLRPC requests.  I made a build fail, and requested it via JS.
 No error.  Here's the XML I got back:

 {{{
 <?xml version='1.0'?>
 <methodResponse>
 <params>
 <param>
 <value><struct>
 <member>
 <name>full_error</name>
 <value><struct>
 <member>
 <name>shell_1</name>
 <value><string></string></value>
 </member>
 </struct></value>
 </member>
 <member>
 <name>end</name>
 <value><double>1270788463.5301051</double></value>
 </member>
 <member>
 <name>logs</name>
 <value><array><data>
 <value><struct>
 <member>
 <name>text</name>
 <value><string>HUGE</string></value>
 </member>
 <member>
 <name>name</name>
 <value><string>svn/stdio</string></value>
 </member>
 </struct></value>
 <value><struct>
 <member>
 <name>text</name>
 <value><string>HUGE</string></value>
 </member>
 <member>
 <name>name</name>
 <value><string>MasterShellCommand/stdio</string></value>
 </member>
 </struct></value>
 <value><struct>
 <member><name>text</name>
 <value><string>HUGE</string></value>
 </member>
 <member>
 <name>name</name>
 <value><string>shell/stdio</string></value>
 </member>
 </struct></value>
 <value><struct>
 <member>
 <name>text</name>
 <value><string>HUGE</string></value>
 </member>
 <member>
 <name>name</name>
 <value><string>shell_1/stdio</string></value>
 </member>
 </struct></value>
 </data></array></value>
 </member>
 <member>
 <name>start</name>
 <value><double>1270788457.711386</double></value>
 </member>
 <member>
 <name>url</name>
 <value><string>http://localhost:8010/builders/builder/builds/0</string></value>
 </member>
 <member>
 <name>text</name>
 <value><array><data>
 <value><string>failed</string></value>
 <value><string>shell_1</string></value>
 </data></array></value>
 </member>
 <member>
 <name>results</name>
 <value><int>2</int></value>
 </member>
 <member>
 <name>number</name>
 <value><int>0</int></value>
 </member>
 <member>
 <name>slavename</name>
 <value><string>bot</string></value>
 </member>
 <member>
 <name>reason</name>
 <value><string>The web-page 'force build' button was pressed by '':
 </string></value>
 </member>
 <member>
 <name>steps</name>
 <value><array><data>
 <value><struct>
 <member>
 <name>start</name>
 <value><double>1270788457.7118659</double></value>
 </member>
 <member>
 <name>text</name>
 <value><array><data>
 <value><string>update</string></value>
 </data></array></value>
 </member>
 <member>
 <name>end</name>
 <value><double>1270788458.09887</double></value>
 </member>
 <member>
 <name>name</name>
 <value><string>svn</string></value>
 </member>
 <member>
 <name>results</name>
 <value><array><data>
 <value><int>0</int></value>
 <value><array><data>
 </data></array></value>
 </data></array></value>
 </member>
 </struct></value>
 <value><struct>
 <member>
 <name>start</name>
 <value><double>1270788458.101397</double></value>
 </member>
 <member>
 <name>text</name>
 <value><array><data>
 <value><string>Ran</string></value>
 </data></array></value>
 </member>
 <member>
 <name>end</name>
 <value><double>1270788463.169955</double></value>
 </member>
 <member>
 <name>name</name>
 <value><string>MasterShellCommand</string></value>
 </member>
 <member>
 <name>results</name>
 <value><array><data>
 <value><int>0</int></value>
 <value><array><data>
 </data></array></value>
 </data></array></value>
 </member>
 </struct></value>
 <value><struct>
 <member>
 <name>start</name>
 <value><double>1270788463.3755441</double></value>
 </member>
 <member>
 <name>text</name>
 <value><array><data>
 <value><string>'cat</string></value>
 <value><string>main.cp'</string></value>
 </data></array></value>
 </member>
 <member>
 <name>end</name>
 <value><double>1270788463.4563589</double></value>
 </member>
 <member>
 <name>name</name>
 <value><string>shell</string></value>
 </member>
 <member>
 <name>results</name>
 <value><array><data>
 <value><int>0</int></value>
 <value><array><data>
 </data></array></value>
 </data></array></value>
 </member>
 </struct></value>
 <value><struct>
 <member>
 <name>start</name>
 <value><double>1270788463.457437</double></value>
 </member>
 <member>
 <name>text</name>
 <value><array><data>
 <value><string>'false'</string></value>
 <value><string>failed</string></value>
 </data></array></value>
 </member>
 <member>
 <name>end</name>
 <value><double>1270788463.529218</double></value>
 </member>
 <member>
 <name>name</name>
 <value><string>shell_1</string></value>
 </member>
 <member>
 <name>results</name>
 <value><array><data>
 <value><int>2</int></value>
 <value><array><data>
 <value><string>shell_1</string></value>
 </data></array></value>
 </data></array></value>
 </member>
 </struct></value>
 </data></array></value>
 </member>
 <member>
 <name>builder_name</name>
 <value><string>builder</string></value>
 </member>
 <member>
 <name>branch</name>
 <value><string></string></value>
 </member>
 <member>
 <name>reasons</name>
 <value><array><data>
 <value><array><data>
 <value><string>'false'</string></value>
 <value><string>failed</string></value>
 </data></array></value>
 </data></array></value>
 </member>
 <member>
 <name>revision</name>
 <value><string>1332</string></value>
 </member>
 </struct></value>
 </param>
 </params>
 </methodResponse>
 }}}

 Do you see anything wrong there?

-- 
Ticket URL: <http://buildbot.net/trac/ticket/753#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list