<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5790</bug_id>
          
          <creation_ts>2014-02-05 13:24:18 +0000</creation_ts>
          <short_desc>Automate test results logging in Testopia using XMLRPC interface</short_desc>
          <delta_ts>2015-07-10 07:41:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>17 June 2015: Set the documentation flag to &quot;No&quot;</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu COrnel">stoicescu_cornel</reporter>
          <assigned_to name="Lucian Musat">georgex.l.musat</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40193</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu COrnel">stoicescu_cornel</who>
    <bug_when>2014-02-05 13:24:18 +0000</bug_when>
    <thetext>Testopia has a XMLRPC comunication interface that can be accessed to automate test results logging from external scripts. 

There is a python script in the Testopia sources that accesses this interface but needs update and trimming.

What needs to be done:
1) Create a working base module for XMLRPC communication with a Testopia installation (work in progress at the moment of this writing)

2) Create a importable module that uses the previous (abstract) one to manipulate Testopia elements for our specific needs. This module could then be used in oe-selftest, automated runtime tests or as an external tool to automate test results logging in Testopia.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41334</commentid>
    <comment_count>1</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-03-17 16:31:23 +0000</bug_when>
    <thetext>Status update:
- the script is up and functional.
- we need to test it against a clone of the production server before it is sent for review, to make sure we sort all remaining (evident) issues out.

NOTE: One of the modules used by the script is derived from another module taken from the Testopia installation and is under Mozilla Public License Version 1.1 . Looking into how to adapt this for Yocto.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41442</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-03-19 16:10:33 +0000</bug_when>
    <thetext>I am not sure this will make it into 1.6 because we have passed the feature freeze. This feature does not impact the build system in any way though and should not introduce any instability.

It should be ready before 1.6 is released. Leaving a general 1.6 milestone for now and will move to 1.7 when the time comes, if necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42117</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-04-02 07:13:20 +0000</bug_when>
    <thetext>Moving to 1.7 and will try and push it to 1.6.1 as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42965</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-04-24 09:40:17 +0000</bug_when>
    <thetext>This is still in testing phase. Should be functional in the 1.7 M2 time-frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44821</commentid>
    <comment_count>5</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-07-30 08:06:44 +0000</bug_when>
    <thetext>Moving to M4. Some internal networking issues are blocking this from testing and implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45708</commentid>
    <comment_count>6</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-09-19 11:34:09 +0000</bug_when>
    <thetext>We have the scripts to finish this but we cannot test this due to an internal proxy issue. 

I passed my work on this to Lucian and he will continue the debugging and implementation if we decide to use this.

Also moving to 1.8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50186</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-04-09 15:14:42 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; We have the scripts to finish this but we cannot test this due to an
&gt; internal proxy issue. 
&gt; 
&gt; I passed my work on this to Lucian and he will continue the debugging and
&gt; implementation if we decide to use this.
&gt; 
&gt; Also moving to 1.8

This is done but needs some review. So will mark it to 1.9_M1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51410</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-06-01 23:11:47 +0000</bug_when>
    <thetext>Hi, 

I am not sure this affects the YP user documentation.  It might affect some other type of documentation, such as QA procedures.  I don&apos;t know.  But, I am entering this comment to rule out the YP user docs as being impacted by this issue.  If I am wrong, please correct me.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51703</commentid>
    <comment_count>9</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-06-15 14:53:44 +0000</bug_when>
    <thetext>Added the scripts to poky-contrib here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lucian/testopia-xmlrpc&amp;id=0d76dafa87db18faedee5d70a1b2f22785adcf0e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51762</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-06-17 13:25:25 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Added the scripts to poky-contrib here:
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lucian/
&gt; testopia-xmlrpc&amp;id=0d76dafa87db18faedee5d70a1b2f22785adcf0e

I do not think the user manuals change as a result of these scripts.  We currently have no instruction on XMLRPC or Testopia.  I am marking the documentation flag as &quot;no&quot;.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52268</commentid>
    <comment_count>11</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-07-10 07:41:36 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>