<?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>10376</bug_id>
          
          <creation_ts>2016-10-04 21:23:51 +0000</creation_ts>
          <short_desc>patchtest: deploy patchtest on server</short_desc>
          <delta_ts>2017-12-06 17:10:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchtest</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          <dependson>10877</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>eduard.bartosh</cc>
          
          
          <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>66905</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-10-04 21:23:51 +0000</bug_when>
    <thetext>Once dependencies are solved, patchtest should be deployed on a server so it starts monitoring community patches.

README file has all instructions for setting up the server with patchtest and patchtest-oe. Because patchtest execution is expected to be an automated process, the section &apos;Host installation &amp; guest execution&apos; must be used this time. Once this step is done, a new cronjob must be scheduled (the frequency needs to be defined) calling the script scripts/pt-cronjob with correct parameter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67613</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-10-26 21:31:06 +0000</bug_when>
    <thetext>Michael,
Currently tool is running locally (not in a YP server) and using some beta users. I let you know when the tool is ready to be deployed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68071</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-08 10:23:00 +0000</bug_when>
    <thetext>*** Bug 10620 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68084</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-08 13:16:29 +0000</bug_when>
    <thetext>*** Bug 10620 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68751</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-11-30 17:34:16 +0000</bug_when>
    <thetext>Michael, patchtest can be now be deployed at one of the LF servers. Full documentation is located at patchtest repo, under the doc folder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69487</commentid>
    <comment_count>5</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-04 18:10:21 +0000</bug_when>
    <thetext>Michael,

last weeks I worked on some  scripts and documentation that easier patchtest deployment on a server (all this work under the patchtest repo, so please pull). Jose and myself will be working on resolving 10877 as soon as possible but in the mean time you may start with this one **except** running the cronjob (I am running the latter in my laptop and just sending to beta users). All documentation is now in just one file (usage.adoc) so follow that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70349</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-02-01 21:49:43 +0000</bug_when>
    <thetext>Server deployment complete. Thank you Leonardo for the excellent hand-off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70368</commentid>
    <comment_count>7</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-02 15:40:30 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; Server deployment complete. Thank you Leonardo for the excellent hand-off.

Michael, can you check the cron is running correctly? there are some untested series on patchwork (series &gt; 5107 have been untested)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70401</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-02-02 19:04:23 +0000</bug_when>
    <thetext>It was stuck at a sudo prompt. It&apos;s passing that now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70416</commentid>
    <comment_count>9</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-03 15:20:57 +0000</bug_when>
    <thetext>Michael,

seems that just one run of the cronjob executed, but currently it is not working. Reopening the bug so we can fix it today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70428</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-02-03 22:32:40 +0000</bug_when>
    <thetext>The network interface creation was failing due to requiretty in the default sudo settings. I&apos;ve disabled this for the patchtest user. Cron runs appear to be working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70586</commentid>
    <comment_count>11</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-09 16:03:38 +0000</bug_when>
    <thetext>Cron is working as expected.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>