Skip to contentSkip to conversation

eSDK 'setscene whitelist'

DISCUSSION Michail Kurochkin 2 participants 3 messages Nov 16, 2021 – Nov 23, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Thanks a lot for the detail response. You clarified a lot of things.

Really the problem is not in xarina-s-evb-image-debug.bb:do_image_complete.
The problem is that in the buildable tasks list for some reason there is a task linux-xarina_git.bb:do_fetch that must not be there.

Before execute populate_sdk_ext I disabled initramfs in defconfig. After populate_sdk_ext I made sure that it is disabled:
xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/linux-xarina/3.14.62+gitAUTOINC+0e62087ecc-r1/build/.config # CONFIG_BLK_DEV_INITRD is not set

I added displaying variable DISTRO_FEATURES in bitbake execute() function to make sure that thereis no feature 'ram' there.
DISTRO_FEATURES = acl alsa argp bluetooth ext2 ipv4 ipv6 largefile   usbhost wifi xattr nfs zeroconf     vfat largefile  ptest multiarch   systemd bluetooth bluez5 alsa wifi ext2 vfat usbhost systemd bluetooth bluez5 alsa wifi ext2 vfat usbhost IMAGE_FSTYPES =  ext4

Then in the directory tmp-renamed-sdk I run bitbake -n:
cd xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk rm -rf tmp
PYTHONDONTWRITEBYTECODE=1 PSEUDO_DISABLED=1 BB_SETSCENE_ENFORCE=1 bitbake -n xarina-s-evb-image-debug

In the result I got the errors:

ERROR: Task linux-xarina.do_fetch attempted to execute unexpectedly
Task xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_deploy_source_date_epoch, unihash 0b0a62440b45184cf9d01d14b4b4cb8ffa19b248f02e9494acbe2ac0d753cd69, taskhash 0b0a62440b45184cf9d01d14b4b4cb8ffa19b248f02e9494acbe2ac0d753cd69 Task xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_image_qa, unihash dabb90c211e53448968cb0ca017471b0029d9b86a8625c23b68c1ea24716a7c4, taskhash dabb90c211e53448968cb0ca017471b0029d9b86a8625c23b68c1ea24716a7c4 Task xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_image_complete, unihash 926c79419b748a7e8532ac1737d933fcc8c2f2c74992eccd3c4421e87b0bef5c, taskhash 926c79419b748a7e8532ac1737d933fcc8c2f2c74992eccd3c4421e87b0bef5c This is usually due to missing setscene tasks. Those missing in this build were: {'xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_deploy_source_date_epoch', 'xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_image_complete', 'xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-bsp/images/xarina-s-evb-image-debug.bb:do_image_qa'}
ERROR: Task (xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/xarina-sdk/meta-xarina-bsp-evb/recipes-kernel/linux/linux-xarina_git.bb:do_fetch) failed with exit code 'setscene whitelist'

After that in the stamp directory there are only sigbasedata including _setscene tasks. xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/tmp/stamps/xarina_s_evb-poky-linux-gnueabi/linux-xarina :

3.14.62+gitAUTOINC+0e62087ecc-r1.do_build.sigbasedata.f7e0581ab0862694e68d70c3ea75af4cd09d12d2dc80c578e3020d5d84004d24 3.14.62+gitAUTOINC+0e62087ecc-r1.do_bundle_initramfs.sigbasedata.35dd9ae928f13ec025a03d1bbedb2ea05cbf9013809110ba4f94b3b20a21647a 3.14.62+gitAUTOINC+0e62087ecc-r1.do_checkuri.sigbasedata.7f538038d85f831a629e7fe35e6de396b1d42d345aa8591ee64886ae348553af 3.14.62+gitAUTOINC+0e62087ecc-r1.do_cleanall.sigbasedata.6bb9b07c233ac448fc38b389fb344b2875592d24f2a37fa8694251bde29e1256 3.14.62+gitAUTOINC+0e62087ecc-r1.do_clean.sigbasedata.d4b156e81ae2a9174326f4483b96aa9eab52dc9a6a87fc684dcfc1445dae2e2c 3.14.62+gitAUTOINC+0e62087ecc-r1.do_cleansstate.sigbasedata.b0fe786786fa0c3d5d3db669923b4130e81db33565ed100210af3bceff93d4e8 3.14.62+gitAUTOINC+0e62087ecc-r1.do_compile_kernelmodules.sigbasedata.88bceb2a9a223a010146ff1d0bd867c9f3d4b5e488df17a6b06bc306bcd59423 3.14.62+gitAUTOINC+0e62087ecc-r1.do_compile.sigbasedata.6ed8f6a2676ba19f3430b823b6a72ec0232e0743f32dd7d34abbee2781f3efae 3.14.62+gitAUTOINC+0e62087ecc-r1.do_configure.sigbasedata.339bae90c84c715c1d50b160e01bbd6db9cd837016eb84574ae723e1fd32aa64 3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783 3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy.sigbasedata.5c2ec19c5f16a3ccf72bdcc77244f69ecf06fcf4c3a30545c419ea9bacbee240 3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_source_date_epoch_setscene.sigbasedata.763845042a23224650a503fabc4287e00eb81ff349cf28dda0047e8757c7110a 3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_source_date_epoch.sigbasedata.0f69f14c141d908c721a5b1ccda17e7b1b88ae838de137857c270c2ffb820d8c 3.14.62+gitAUTOINC+0e62087ecc-r1.do_devpyshell.sigbasedata.2a74e89c8c0360cd6e1281da39d0a66c11fd7e571fd2bd7eebc02f6766fbe207 3.14.62+gitAUTOINC+0e62087ecc-r1.do_devshell.sigbasedata.4e8d2f6444ba0c9919cae79927e8e16c2ed777b892501d7a04cbc8b2939e85ac 3.14.62+gitAUTOINC+0e62087ecc-r1.do_diffconfig.sigbasedata.86ed27cdd5c5b3934e12296bca72c40b52a332f9b3d6cb350531d7970f412874 3.14.62+gitAUTOINC+0e62087ecc-r1.do_fetch.sigbasedata.5ab1a7e486a31a9944c59446c4c4135bf5d6961d767aa0456d140c6dd10ee1d8 3.14.62+gitAUTOINC+0e62087ecc-r1.do_install.sigbasedata.6fb52d153045a9b2233d31c90bd04f69f3baf2357893ceb1290c31a67f882a0d 3.14.62+gitAUTOINC+0e62087ecc-r1.do_kernel_add_regdb.sigbasedata.947c5189bfc6b4c01a42a1ba9d3052f85bdd332e907b667fc2565d0b356a88d4 3.14.62+gitAUTOINC+0e62087ecc-r1.do_kernel_link_images.sigbasedata.fa358feaf63e05aa2ade4a650c479a1feb4f74c176df2873607854894f51645a 3.14.62+gitAUTOINC+0e62087ecc-r1.do_listtasks.sigbasedata.12ae738d3561f977d3dc38ff7b21073cd916045f993f8be8e394b5b683ed26c9 3.14.62+gitAUTOINC+0e62087ecc-r1.do_menuconfig.sigbasedata.f4fd7c2860d845a7fdfbea5a727c24fa2373fa6b23eb99c3fac2e498639babfd 3.14.62+gitAUTOINC+0e62087ecc-r1.do_packagedata_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783 3.14.62+gitAUTOINC+0e62087ecc-r1.do_packagedata.sigbasedata.6ecebd0eeb15e7963358218b990028456d039258ec81a3e277006f5fead0ecda 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_qa_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_qa.sigbasedata.15718e73ab4f2b0f47f4c3c0ffb0ae82117842f7e40eaedb4b9f666b7df9469c 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_setscene.sigbasedata.3e1a33a2a413b5cf8e7da487da52b7a64a5366e3d1eb1238a16cddc4f8fb98b8 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package.sigbasedata.5d3b8b09899dfa4099111a1c1dd6df1f58dc0cd11eaf3c900cb81cb94a48c5b5 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_write_ipk_setscene.sigbasedata.64385b8d67399fcf96686c998012e79a3934afa900a4793fdaaba066c249d794 3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_write_ipk.sigbasedata.192ebe1c2ae834f8fffe0c840c39b62ee0b1423256595547674653c42988a576 3.14.62+gitAUTOINC+0e62087ecc-r1.do_patch.sigbasedata.249ec0cba88dd64fcb1c9f3507736f78734ef3c2e5703747e442c95c87800df8 3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_lic_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783 3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_lic.sigbasedata.b47980ee2cc961c089105d66ebb7e1689de782e3bc118e4e28aa23bf1d78dffb 3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_sysroot_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783 3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_sysroot.sigbasedata.8c218fc9327c9f6f3353e4559d037d9b76c3fc65a9ec7c8374c07aca6938200a 3.14.62+gitAUTOINC+0e62087ecc-r1.do_prepare_recipe_sysroot.sigbasedata.4b2724167c5932203819023a5b7d39de232f015d4a6cc77269955c2738f6c65f 3.14.62+gitAUTOINC+0e62087ecc-r1.do_savedefconfig.sigbasedata.67d8b6f786936f07bed92cc8ccd9f6cc7aae56e6e7f82a5cd78bd67f8814b638 3.14.62+gitAUTOINC+0e62087ecc-r1.do_shared_workdir_setscene.sigbasedata.2113500ee55f4ee47685992a4fb70d0443710300b540846e9d95bc9a2d1d3f21 3.14.62+gitAUTOINC+0e62087ecc-r1.do_shared_workdir.sigbasedata.599b889326c0fdc255a5285271fcce91acaa8473d6d2f6ff485b001c4a30887a 3.14.62+gitAUTOINC+0e62087ecc-r1.do_sizecheck.sigbasedata.d3ca1d63314915c51f7c6737e33b1d3a993e33d9c3bab5b1833a79b2a16ec679 3.14.62+gitAUTOINC+0e62087ecc-r1.do_strip.sigbasedata.78ed0d14f18b848f3fd939d98b20912780332d726bb0dce7146d5f982142de88 3.14.62+gitAUTOINC+0e62087ecc-r1.do_symlink_kernsrc.sigbasedata.3548437dcad16ec9f5534906726b7b038bde4d514fad220fac0888af916de3a9 3.14.62+gitAUTOINC+0e62087ecc-r1.do_unpack.sigbasedata.d8e25fffc33ef8e1d517784ef4d27f20a5af7eb18d3bdce2cf7de7335f7936d8

I see that none of _setscene tasks was executed.

I am really at a dead end. Could you please advice what can I do next to find out the reason of this.

I am a bit confused about your answer for 3.3

Quoted 1 line
Quoted 1 line
Quoted 1 line

It tells us if the task was run in entirety or whether it was restored from sstate.

Marking that _setscene task was or was not executed is definded in the same way as for other tasks? I mean if there is a file xxx_setscene.sigbasedata.stamp does it mean that task was executed? And if there is not such a file the task was not executed. It is right?

Looking forward to any help
Thanks.

Best Regards,
Michail

#2 lore raw
Quoted 7 lines · Michail Kurochkin

xarina-build-dunfell/tmp/work/xarina_s_evb-poky-linux-gnueabi/xarina-s-evb-image-debug/1.0-r0/sdk-ext/image/tmp-renamed-sdk/tmp/stamps/xarina_s_evb-poky-linux-gnueabi/linux-xarina :

3.14.62+gitAUTOINC+0e62087ecc-r1.do_build.sigbasedata.f7e0581ab0862694e68d70c3ea75af4cd09d12d2dc80c578e3020d5d84004d24

3.14.62+gitAUTOINC+0e62087ecc-r1.do_bundle_initramfs.sigbasedata.35dd9ae928f13ec025a03d1bbedb2ea05cbf9013809110ba4f94b3b20a21647a

3.14.62+gitAUTOINC+0e62087ecc-r1.do_checkuri.sigbasedata.7f538038d85f831a629e7fe35e6de396b1d42d345aa8591ee64886ae348553af

Looks like someone is using AUTOREV as your SRCREV. If you do that, the system has to ALWAYS run the fetch operation to check if a new version of the component is available or not.

Instead pick a static commit, use that instead of AUTOREV in the recipe (or bbappend), and that should resolve the issue.

--Mark

Quoted 100 lines

3.14.62+gitAUTOINC+0e62087ecc-r1.do_cleanall.sigbasedata.6bb9b07c233ac448fc38b389fb344b2875592d24f2a37fa8694251bde29e1256

3.14.62+gitAUTOINC+0e62087ecc-r1.do_clean.sigbasedata.d4b156e81ae2a9174326f4483b96aa9eab52dc9a6a87fc684dcfc1445dae2e2c

3.14.62+gitAUTOINC+0e62087ecc-r1.do_cleansstate.sigbasedata.b0fe786786fa0c3d5d3db669923b4130e81db33565ed100210af3bceff93d4e8

3.14.62+gitAUTOINC+0e62087ecc-r1.do_compile_kernelmodules.sigbasedata.88bceb2a9a223a010146ff1d0bd867c9f3d4b5e488df17a6b06bc306bcd59423

3.14.62+gitAUTOINC+0e62087ecc-r1.do_compile.sigbasedata.6ed8f6a2676ba19f3430b823b6a72ec0232e0743f32dd7d34abbee2781f3efae

3.14.62+gitAUTOINC+0e62087ecc-r1.do_configure.sigbasedata.339bae90c84c715c1d50b160e01bbd6db9cd837016eb84574ae723e1fd32aa64

3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783

3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy.sigbasedata.5c2ec19c5f16a3ccf72bdcc77244f69ecf06fcf4c3a30545c419ea9bacbee240

3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_source_date_epoch_setscene.sigbasedata.763845042a23224650a503fabc4287e00eb81ff349cf28dda0047e8757c7110a

3.14.62+gitAUTOINC+0e62087ecc-r1.do_deploy_source_date_epoch.sigbasedata.0f69f14c141d908c721a5b1ccda17e7b1b88ae838de137857c270c2ffb820d8c

3.14.62+gitAUTOINC+0e62087ecc-r1.do_devpyshell.sigbasedata.2a74e89c8c0360cd6e1281da39d0a66c11fd7e571fd2bd7eebc02f6766fbe207

3.14.62+gitAUTOINC+0e62087ecc-r1.do_devshell.sigbasedata.4e8d2f6444ba0c9919cae79927e8e16c2ed777b892501d7a04cbc8b2939e85ac

3.14.62+gitAUTOINC+0e62087ecc-r1.do_diffconfig.sigbasedata.86ed27cdd5c5b3934e12296bca72c40b52a332f9b3d6cb350531d7970f412874

3.14.62+gitAUTOINC+0e62087ecc-r1.do_fetch.sigbasedata.5ab1a7e486a31a9944c59446c4c4135bf5d6961d767aa0456d140c6dd10ee1d8

3.14.62+gitAUTOINC+0e62087ecc-r1.do_install.sigbasedata.6fb52d153045a9b2233d31c90bd04f69f3baf2357893ceb1290c31a67f882a0d

3.14.62+gitAUTOINC+0e62087ecc-r1.do_kernel_add_regdb.sigbasedata.947c5189bfc6b4c01a42a1ba9d3052f85bdd332e907b667fc2565d0b356a88d4

3.14.62+gitAUTOINC+0e62087ecc-r1.do_kernel_link_images.sigbasedata.fa358feaf63e05aa2ade4a650c479a1feb4f74c176df2873607854894f51645a

3.14.62+gitAUTOINC+0e62087ecc-r1.do_listtasks.sigbasedata.12ae738d3561f977d3dc38ff7b21073cd916045f993f8be8e394b5b683ed26c9

3.14.62+gitAUTOINC+0e62087ecc-r1.do_menuconfig.sigbasedata.f4fd7c2860d845a7fdfbea5a727c24fa2373fa6b23eb99c3fac2e498639babfd

3.14.62+gitAUTOINC+0e62087ecc-r1.do_packagedata_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783

3.14.62+gitAUTOINC+0e62087ecc-r1.do_packagedata.sigbasedata.6ecebd0eeb15e7963358218b990028456d039258ec81a3e277006f5fead0ecda

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_qa_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_qa.sigbasedata.15718e73ab4f2b0f47f4c3c0ffb0ae82117842f7e40eaedb4b9f666b7df9469c

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_setscene.sigbasedata.3e1a33a2a413b5cf8e7da487da52b7a64a5366e3d1eb1238a16cddc4f8fb98b8

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package.sigbasedata.5d3b8b09899dfa4099111a1c1dd6df1f58dc0cd11eaf3c900cb81cb94a48c5b5

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_write_ipk_setscene.sigbasedata.64385b8d67399fcf96686c998012e79a3934afa900a4793fdaaba066c249d794

3.14.62+gitAUTOINC+0e62087ecc-r1.do_package_write_ipk.sigbasedata.192ebe1c2ae834f8fffe0c840c39b62ee0b1423256595547674653c42988a576

3.14.62+gitAUTOINC+0e62087ecc-r1.do_patch.sigbasedata.249ec0cba88dd64fcb1c9f3507736f78734ef3c2e5703747e442c95c87800df8

3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_lic_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783

3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_lic.sigbasedata.b47980ee2cc961c089105d66ebb7e1689de782e3bc118e4e28aa23bf1d78dffb

3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_sysroot_setscene.sigbasedata.e78ab72e883eb6d98f3ab9cde98112204a9a1ff16b7d5889d8e8fb432beac783

3.14.62+gitAUTOINC+0e62087ecc-r1.do_populate_sysroot.sigbasedata.8c218fc9327c9f6f3353e4559d037d9b76c3fc65a9ec7c8374c07aca6938200a

3.14.62+gitAUTOINC+0e62087ecc-r1.do_prepare_recipe_sysroot.sigbasedata.4b2724167c5932203819023a5b7d39de232f015d4a6cc77269955c2738f6c65f

3.14.62+gitAUTOINC+0e62087ecc-r1.do_savedefconfig.sigbasedata.67d8b6f786936f07bed92cc8ccd9f6cc7aae56e6e7f82a5cd78bd67f8814b638

3.14.62+gitAUTOINC+0e62087ecc-r1.do_shared_workdir_setscene.sigbasedata.2113500ee55f4ee47685992a4fb70d0443710300b540846e9d95bc9a2d1d3f21

3.14.62+gitAUTOINC+0e62087ecc-r1.do_shared_workdir.sigbasedata.599b889326c0fdc255a5285271fcce91acaa8473d6d2f6ff485b001c4a30887a

3.14.62+gitAUTOINC+0e62087ecc-r1.do_sizecheck.sigbasedata.d3ca1d63314915c51f7c6737e33b1d3a993e33d9c3bab5b1833a79b2a16ec679

3.14.62+gitAUTOINC+0e62087ecc-r1.do_strip.sigbasedata.78ed0d14f18b848f3fd939d98b20912780332d726bb0dce7146d5f982142de88

3.14.62+gitAUTOINC+0e62087ecc-r1.do_symlink_kernsrc.sigbasedata.3548437dcad16ec9f5534906726b7b038bde4d514fad220fac0888af916de3a9

3.14.62+gitAUTOINC+0e62087ecc-r1.do_unpack.sigbasedata.d8e25fffc33ef8e1d517784ef4d27f20a5af7eb18d3bdce2cf7de7335f7936d8 I see that none of _setscene tasks was executed.
I am really at a dead end. Could you please advice what can I do next to find out the reason of this. I am a bit confused about your answer for 3.3

Quoted 1 line
Quoted 1 line
Quoted 1 line

It tells us if the task was run in entirety or whether it was restored from

sstate.
Marking that _setscene task was or was not executed is definded in the same way as for other tasks? I mean if there is a file xxx_setscene.sigbasedata.stamp does it mean that task was executed? And if there is not such a file the task was not executed. It is right? Looking forward to any help
Thanks.
Best Regards,
Michail

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13064): https://lists.openembedded.org/g/bitbake-devel/message/13064
Mute This Topic: https://lists.openembedded.org/mt/86995631/3616948
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Thank for your responses.

I have rechecked all recipes and found out that AUTOREV is not used there, including linux-xarina recipe.  I found out that linux-xarina.do_fetch is included in 'unskippable' tasks list (runqueue.py:build_scenequeue_data()). Because of this, the task linux-xarina.do_fetch is included in 'not_covered' tasks list. This is the reason of the eSDK build failures.

I discivered that linux-xarina.do_fetch is included into 'unskippable' list because 'unskippable' list contains 'xarina-s-evb-image-debug.do_build' task. But the task 'xarina-s-evb-image-debug.do_build' is allowed in the whitelist:
BB_SETSCENE_ENFORCE_WHITELIST = 'xarina-s-evb-image-debug:*', '*:do_shared_workdir', '*:do_rm_work', 'wic-tools:*', '*:do_addto_recipe_sysroot' This is expected.

Then I found out that 'xarina-s-evb-image-debug.do_build' depends on other *.do_build tasks that are not allowed in the 'whitelist'. But these tasks have '_setscene' vesrsion and then in the source code are excluded from the 'unskippable' list.

And 'linux-xarina.do_build' depends on corresponding '_setscene' tasks (aka do_build, do_populate_sysroot and etc.). This list also includes 'linux-xarina.do_kernel_add_regdb' task that does not have '_setscene' version and it depends on 'linux-xarina.do_configure' that depends on 'linux-xarina.do_fetch'.

As the result all these tasks are included in the 'unskippable' list:
xarina-s-evb-image-debug.do_build -> linux-xarina.do_build -> linux-xarina.do_kernel_add_regdb -> linux-xarina.do_configure -> linux-xarina.do_unpack -> linux-xarina.do_fetch This is the core reason of the build failure.

Here is the 'linux-xarina' recipe:

```
require recipes-kernel/linux/linux.inc
inherit kernel_wireless_regdb

DESCRIPTION = "Linux kernel for Xarina"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:${THISDIR}/files/dtsi:"

COMPATIBLE_MACHINE = "xarina-s-evb"

SRCREV = "0e62087ecc399256624095f82e8b90c95c0e3b36"

SRC_URI = "${HOMAM_GIT_URI}/xarina-kernel-source.git;protocol=${HOMAM_GIT_PROTOCOL};nobranch=1"

SRC_URI += "file://xarina-s-evb-standard.scc \
file://xarina-s-evb-user-config.cfg \
file://defconfig \
"
S = "${WORKDIR}/git"

LINUX_VERSION = "3.14.62"
LOCALVERSION = "-fido1.8-xarina"

PV = "${LINUX_VERSION}+git${SRCPV}"
PR = "r1"

DEPENDS += "lzop-native xz-native"
DEPENDS += "mtd-utils-native"

UBIFS_TMPDIR = "linux_tmp"

```

The code above includes 'kernel_wireless_regdb.bbclass' file.

The 'kernel_wireless_regdb' recipe implementation is located in meta-openembedded layer: https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/classes/kernel_wireless_regdb.bbclass

Here you can see the dependence:
addtask kernel_add_regdb before do_build after do_configure That breaks eSDK build.

I tried to add '_setscene' version of the task 'do_kernel_add_regdb' but it does not help:

```
python do_kernel_add_regdb_setscene () {
sstate_setscene(d)
}
addtask do_kernel_add_regdb_setscene
SSTATETASKS += "kernel_add_regdb"
```

If I exlude the line with 'inherit kernel_wireless_regdb' then eSDK built with success. But unfortunately we can not exclude WIFI CRDA list in our project.

Could you please suggest a proper solution for this bug, not using a custom workaround?

Thank you in advance,
Michail.