<?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>11117</bug_id>
          
          <creation_ts>2017-03-02 14:58:05 +0000</creation_ts>
          <short_desc>patchwork not sending emails on behalf of patchtest</short_desc>
          <delta_ts>2017-12-06 17:26:24 +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>Patchwork</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>ross.burton</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>71039</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-03-02 14:58:05 +0000</bug_when>
    <thetext>Patchtest is sending its test results but failures (summries) are not sent to the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71068</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-03-03 18:22:07 +0000</bug_when>
    <thetext>We know that e-mail is leaving the server and arriving as expected in some cases. Can you provide a method to test sending of test results? Maybe a method I can call or an example POST that should trigger sending a new set of results?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71069</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-03-03 20:07:06 +0000</bug_when>
    <thetext>Append the below text into your openembedded-core/.git/config file

-------
[patchwork &quot;default&quot;]
        url = https://patchwork.openembedded.org
        project = oe-core
        user = &lt;user&gt;
        password = &lt;passwd&gt;
-------

Then, from the repo do the following 


$ git pw post-result 19 test failure  --summary &apos;test&apos;

The above command is what actually patchtest does, except that it uses the real ID and the test name is different (patchtest instead of test)


I just ran the above steps and seems that it is working:

-------
From:	Patchwork &lt;patchwork@patchwork.openembedded.org&gt;
Reply-to:	&lt;openembedded-core@lists.openembedded.org&gt;
To:	michael@yoctoproject.org, leonardo.sandoval.gonzalez@intel.com
Subject:	✗ test: failure for initramfs-framework enhancements
Date:	Fri, 3 Mar 2017 20:00:47 +0000 (03/03/2017 02:00:47 PM)

== Series Details ==

Series: initramfs-framework enhancements
Revision: 1
URL   : https://patchwork.openembedded.org/series/19/
State : failure

== Summary ==

test
-------

So, apparently, it the problem is when sending the email to the mailing list (perhaps the ML is blocking emails from patchwork?)

Let me know if this info is enough to progress in your side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71653</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-03-23 16:18:00 +0000</bug_when>
    <thetext>When I run git-pw as the patchtest user posts do appear. http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134481.html

However. even though patchtest/scripts/guest is running every 30 minutes and new patches have been posted I don&apos;t see any new e-mail from patchtest. Perhaps we just haven&apos;t had any failures to report. Leo and I will continue watching.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71654</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-03-23 16:32:27 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; When I run git-pw as the patchtest user posts do appear.
&gt; http://lists.openembedded.org/pipermail/openembedded-core/2017-March/134481.
&gt; html
&gt; 
&gt; However. even though patchtest/scripts/guest is running every 30 minutes and
&gt; new patches have been posted I don&apos;t see any new e-mail from patchtest.
&gt; Perhaps we just haven&apos;t had any failures to report. Leo and I will continue
&gt; watching.

Right, no failures have occurred. I will monitor the list and the pw site, and check for failures results/emails in both places. I let you know if everything is back to normal as soon as possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71763</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2017-03-27 18:33:25 +0000</bug_when>
    <thetext>Confirmed working. Yay!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>