<?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>5875</bug_id>
          
          <creation_ts>2014-02-25 11:12:41 +0000</creation_ts>
          <short_desc>Tests for forcing a task</short_desc>
          <delta_ts>2015-10-26 10:05:21 +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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Daniel Istrate">daniel.alexandrux.istrate</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</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>40675</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-25 11:12:41 +0000</bug_when>
    <thetext>We recently had a regression in forcing tasks with -f (see bug 5805); since this went undetected for some time and has regressed before, I think we need to have some tests to make sure it continues working. The tests should cover the following:

1) Run bitbake &lt;recipename&gt;, then modify something in ${WORKDIR}/image and bitbake -c package -f &lt;recipename&gt;, check that the files changed in ${WORKDIR}/packages-split, then bitbake &lt;recipename&gt; again and check that do_package_write_(ipk/deb/rpm) re-execute (either by looking at the output, or looking at the log files in ${T} for the recipe)

2) Run bitbake &lt;recipename&gt;, then modify some source file in ${S}, then bitbake -C compile &lt;recipename&gt; and check that do_package and do_populate_sysroot are re-executed (either by looking at the output, or looking at the log files in ${T} for the recipe)

We probably ought to have a test for the kernel&apos;s -c menuconfig option as well, but that&apos;ll require some interaction so I&apos;ll enter that as a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40692</commentid>
    <comment_count>1</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-02-26 08:22:14 +0000</bug_when>
    <thetext>At the moment we have this test, also automated with oe-selftest, that checks basic functionality of task forcing: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=163

As explained in bug 5805 this was not enough to catch that issue. We will improve upon what we already have to cover the specified scenario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55263</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-10-13 15:03:35 +0000</bug_when>
    <thetext>Sent patches to oe-core:

http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111485.html

Updated TC 163 to match TC 2 and added a new one for TC 1 (https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=1354)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55722</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2015-10-26 10:05:21 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>