<?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>12773</bug_id>
          
          <creation_ts>2018-06-06 07:28:52 +0000</creation_ts>
          <short_desc>[Meta-Yocto :2.4.3RC2]  QA_WARN and QA_ERROR Mechanism checking Failed</short_desc>
          <delta_ts>2018-06-11 02:43:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>2.4.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pankaj yadav">pankaj-y</reporter>
          <assigned_to name="Anuj Mittal">anuj.mittal</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <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>80721</commentid>
    <comment_count>0</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-06-06 07:28:52 +0000</bug_when>
    <thetext>Hi All,

Test Case Link : https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=804

While executing this test, I am getting below mentioned issue as shown in attached screenshot. 

Issue Reproduced on Release : 2.4.3RC2 and 2.3.4.rc1
Previous Release QA Status : Pass
Test case name :  QA_WARN and QA_ERROR mechanism checking. 
Test case number : Case 804
Environment : x86_64
Summary : According to test we should get 2 warning message  and build should get passed. But build is getting failed with 2 warning message and 1 error message. 

Steps  to reproduce : 
1.	Download the poky source and set environment
2.	Add the following lines to a .bb file. For expample, xcursor-transparent-theme_1.6.bb:
PACKAGES += &quot;${PN}-dbg&quot;
3.	Run &quot;bitbake xcursor-transparent-theme&quot;
4.	Modify the meta-poky/conf/distro/poky.conf. After WARN_QA_remove = &quot;${WARN_TO_ERROR_QA}&quot;, add WARN_QA_append = &quot; packages-list&quot;.
5.	After ERROR_QA_append = &quot; ${WARN_TO_ERROR_QA}&quot;, add ERROR_QA_remove = &quot;packages-list&quot;.
6.	Run &quot;bitbake xcursor-transparent-theme&quot; again. 
Expected Output of 6th step :
####################
WARNING: QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.
NOTE: Tasks Summary: Attempted 379 tasks of which 341 didn&apos;t need to be rerun and all succeeded.

Summary: There were 2 WARNING messages shown.
####################
Check the return value of the command, should be 0.
echo $?
0
Actual output:
We get one error message and build is not successful

  
Regards,
Pankaj</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80729</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-06-07 15:02:09 +0000</bug_when>
    <thetext>This test case has been part of oe-selftest (and so automated) for quite some time.  Back in 2016 I fixed the test case[1] so it works reliably, and it&apos;s been working since.

If this test case is being executed manually, it should be removed from the manual test case list as the automated QA covers this.

[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/lib/oeqa/selftest/buildoptions.py?id=9ec7cef3d079114c391161103cbd6a70ffba555a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80753</commentid>
    <comment_count>2</comment_count>
    <who name="pankaj yadav">pankaj-y</who>
    <bug_when>2018-06-11 02:43:37 +0000</bug_when>
    <thetext>Closing this bug as a &quot;Not A Bug&quot; as this Test case has been removed from Manual Test Case template and moved to automation QA already.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>