<?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>9087</bug_id>
          
          <creation_ts>2016-02-10 11:17:50 +0000</creation_ts>
          <short_desc>Toaster hangs when you start a build specifying an invalid task</short_desc>
          <delta_ts>2016-05-04 13:18:58 +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>Toaster</product>
          <component>toaster</component>
          <version>2.0</version>
          <rep_platform>x86</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>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Elliot Smith">elliot.smith</assigned_to>
          <cc>alexandru.costinx.roman</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>ross.burton</cc>
    
    <cc>stanciux.mihail</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>58821</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-02-10 11:17:50 +0000</bug_when>
    <thetext>In Toaster you can specify a task to run when you start a build by typing a semicolon and the task name after the build target. If you type a task name that doesn&apos;t exit, the build starts but the UI shows an empty progress bar forever, even after the build fails. If you then restart Toaster, you can see the build failed and this error message:

Task do_foo does not exist for target zlib

The toaster_ui.log file says:

NOTE: Logging error 2: {&apos;lineno&apos;: 198, &apos;message&apos;: &apos;Task do_foo does not exist for target zlib&apos;, &apos;pathname&apos;: &apos;/home/yocto/master/bitbake/lib/bb/msg.py&apos;, &apos;build&apos;: &lt;Build: 2 test invalid task (Release master (master), BBV master (Branch: master)) zlib&gt;, &apos;level&apos;: 3}
ERROR: Task do_foo does not exist for target zlib

This happens in both master and toaster-next.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59523</commentid>
    <comment_count>1</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-02-29 14:25:19 +0000</bug_when>
    <thetext>RP provided I patch, which I submitted directly to bitbake-devel on his behalf:
http://lists.openembedded.org/pipermail/bitbake-devel/2016-February/007134.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61282</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-15 12:44:12 +0000</bug_when>
    <thetext>Fixed in bitbake 98a2c37e077b16e3bc8bb102bd18b293130d15a4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61931</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-05-04 13:18:58 +0000</bug_when>
    <thetext>Verified on master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>