Bug 5457

Summary: Too many tasks reported as noexec
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED DUPLICATE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, stanciux.mihail
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
gcc-cross-tasks-coming-as-noexec.png none

Description Belen Barros Pena 2013-11-04 18:28:51 UTC
Created attachment 1600 [details]
gcc-cross-tasks-coming-as-noexec.png

There seems to be way too many tasks reported as 'noexec'. For example, for gcc-cross, the following tasks should be 'noexec' tasks:

meta/recipes-devtools/gcc/gcc-cross.inc:do_package[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_packagedata[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_ipk[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_rpm[noexec] = "1"
meta/recipes-devtools/gcc/gcc-cross.inc:do_package_write_deb[noexec] = "1"

However, as you can see in the attached screenshot, do_fetch, do_unpack, do_patch, do_configure, do_compile, do_install and do_populate_sysroot are also being reported as 'noexec'.

Found in dora-toaster:46814c99eed399b6dd9ff9e83260fefe79c23ec8
Comment 1 Alexandru Damian 2013-11-04 22:09:43 UTC
All tasks that are not executed are by default NoExec. 

The script type field should always be interpreted in relation with the task type field. 

I'm not sure what the expected behaviour is.
Comment 2 Belen Barros Pena 2013-11-05 10:57:40 UTC
We sorted this out as part of bug 5327

executed - noexec will have the script_type set to noexec

covered / prebuilt - noexec will have a null script_type 

I am closing this one.

*** This bug has been marked as a duplicate of bug 5327 ***
Comment 3 Mihail Stanciu 2014-08-11 13:56:27 UTC
Verified.