<?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>15389</bug_id>
          
          <creation_ts>2024-02-08 08:51:41 +0000</creation_ts>
          <short_desc>Patchtest reports a failure but says &quot;OK&quot; at the end</short_desc>
          <delta_ts>2024-02-19 18:50:13 +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>5.0</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>5.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Opdenacker">michael.opdenacker</reporter>
          <assigned_to name="Simone Weiß">simone.p.weiss</assigned_to>
          <cc>michael.opdenacker</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>simone.p.weiss</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>98153</commentid>
    <comment_count>0</comment_count>
      <attachid>5009</attachid>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2024-02-08 08:51:41 +0000</bug_when>
    <thetext>Created attachment 5009
Patch without a Signed-off-by line

I&apos;m testing this on Poky master...

Given the attached patch, patchtest reports a failure but says &quot;OK&quot; at the end:

Testing patch v2-0002-alsa-tools-upgrade-1.2.5-1.2.11.patch
Loading cache: 100% |                                                                                                                                                                              | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:13
Parsing of 912 .bb files complete (0 cached, 912 parsed). 1849 targets, 47 skipped, 0 masked, 0 errors.
SKIP: pretest src uri left files: Patch cannot be merged (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
----------------------------------------------------------------------
Ran 2 tests in 14.104s

OK
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
FAIL: test Signed-off-by presence: Mbox is missing Signed-off-by. Add it manually or with &quot;git commit --amend -s&quot; (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 1849 entries from dependency cache.
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
SKIP: test src uri left files: Patch cannot be merged (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
----------------------------------------------------------------------
Ran 21 tests in 1.099s

OK

Because of this, the &quot;FAIL&quot; line got unnoticed, and I sent the patch in good faith.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98214</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2024-02-15 18:42:28 +0000</bug_when>
    <thetext>That&apos;s better, now, thanks Simone!

----------------------------------------------------------------------

patchtest: At least one patchtest caused a failure or an error - please check
----------------------------------------------------------------------

However, I think this would have been harder to miss:

----------------------------------------------------------------------

FAIL: At least one patchtest caused a failure or an error - please check
----------------------------------------------------------------------

I&apos;m reopening the bug, but I don&apos;t mind if you disagree and close it again.
It&apos;s already a good improvement, but I&apos;m unsure people reading the output too quickly won&apos;t miss the error.

Thanks again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98218</commentid>
    <comment_count>2</comment_count>
    <who name="Simone Weiß">simone.p.weiss</who>
    <bug_when>2024-02-15 20:17:54 +0000</bug_when>
    <thetext>Hi Michael,

While true that adding FAIL makes it even more obvious, the problem is that this would be picked up by patchtest-send-results will pick it up and put it in the list of failed testcases. I would hence keep it as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98222</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2024-02-16 07:46:34 +0000</bug_when>
    <thetext>Oops, I understand.
&quot;ERROR&quot; maybe if it doesn&apos;t interfere?

Anyway, I was just trying to help. Don&apos;t hesitate to close the bug again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98224</commentid>
    <comment_count>4</comment_count>
    <who name="Simone Weiß">simone.p.weiss</who>
    <bug_when>2024-02-16 16:22:35 +0000</bug_when>
    <thetext>Sure, this is absolutely possible. I can check and send a patch later for sth like WARN, or NOK.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>5009</attachid>
            <date>2024-02-08 08:51:41 +0000</date>
            <delta_ts>2024-02-08 08:51:41 +0000</delta_ts>
            <desc>Patch without a Signed-off-by line</desc>
            <filename>v2-0002-alsa-tools-upgrade-1.2.5-1.2.11.patch</filename>
            <type>text/plain</type>
            <size>1491</size>
            <attacher name="Michael Opdenacker">michael.opdenacker</attacher>
            
              <data encoding="base64">RnJvbSA2MTNiNjBmODI0NmVhNGUzMTkwMmMxNzJlMGEzZDJjNmU3MmEyNWMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWNoYWVsIE9wZGVuYWNrZXIgPG1pY2hhZWwub3BkZW5hY2tl
ckBib290bGluLmNvbT4KRGF0ZTogV2VkLCA3IEZlYiAyMDI0IDIyOjQwOjQ4ICswMTAwClN1Ympl
Y3Q6IFtQQVRDSCB2MiAyLzRdIGFsc2EtdG9vbHM6IHVwZ3JhZGUgMS4yLjUgLT4gMS4yLjExCgot
IFVwc3RyZWFtIHJlbGVhc2UgdXBkYXRlCiAgU2VlIGh0dHBzOi8vd3d3LmFsc2EtcHJvamVjdC5v
cmcvd2lraS9EZXRhaWxlZF9jaGFuZ2VzX3YxLjIuMTBfdjEuMi4xMQoKLS0tCgpDaGFuZ2VzIGlu
IFYyOgotIEZpeCBjb21taXQgdGl0bGUsIGNvcnJlY3RpbmcgdXBkYXRlZCB2ZXJzaW9uIGZvciBh
bHNhLXRvb2xzCi0tLQogLi4uL2Fsc2Eve2Fsc2EtdG9vbHNfMS4yLjUuYmIgPT4gYWxzYS10b29s
c18xLj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