<?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>14657</bug_id>
          
          <creation_ts>2021-12-11 15:38:25 +0000</creation_ts>
          <short_desc>AB-INT: SDK preparation failure: Task libgpg-error-native.do_fetch attempted to execute unexpectedly</short_desc>
          <delta_ts>2022-04-28 15:00:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>testsdk</component>
          <version>4.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>luca.ceresoli</cc>
    
    <cc>randy.macleod</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>92152</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-11 15:38:25 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2681/steps/14/logs/stdio
oe-selftest-debian debian10-ty-1

2021-10-14 20:57:02,222 - oe-selftest - INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest) [ (subunit.RemotedTestCase)
2021-10-14 20:57:02,222 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-10-14 20:57:02,222 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py&quot;, line 39, in _oeSetUpClass
    clss.setUpClassMethod()
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py&quot;, line 88, in setUpClass
    runCmd(&quot;%s -y -d \&quot;%s\&quot;&quot; % (cls.ext_sdk_path, cls.tmpdir_eSDKQA))
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py&quot;, line 207, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
2021-10-14 20:31:15,322 - oe-selftest - INFO - VerifyManifest: doing bitbake core-image-minimal as a prerequisite of the test
AssertionError: Command &apos;/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-core2-64-qemux86-64-toolchain-ext-3.4.sh -y -d &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be&quot;&apos; returned non-zero exit status 1:
Poky (Yocto Project Reference Distro) Extensible SDK installer version 3.4
==========================================================================
You are about to install the SDK to &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be&quot;. Proceed [Y/n]? Y
Extracting SDK...........done
Setting it up...
Extracting buildtools...
Preparing build system...
/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio
  import asyncore
Loading cache...done.
Parsing recipes...done.
Initialising tasks...done.
Checking sstate mirror object availability...done.
ERROR: Task libgpg-error-native.do_fetch attempted to execute unexpectedly
Task virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb:do_populate_sysroot, unihash 36851324e350268b8c921a1322b0bcaba56f9ab189e5bc13750c75db8678ec51, taskhash 36851324e350268b8c921a1322b0bcaba56f9ab189e5bc13750c75db8678ec51
Task virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.73.bb:do_populate_sysroot, unihash 875ba43ed54fd236731b8e1947ba1a1be0570fc01dd7f49f6d61ff5a1f6bc591, taskhash 875ba43ed54fd236731b8e1947ba1a1be0570fc01dd7f49f6d61ff5a1f6bc591
Task virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb:do_deploy_source_date_epoch, unihash 3aeefdb54b7c97b2db1f710478f14acc6c198fb7b375e6582db53824db988201, taskhash 3aeefdb54b7c97b2db1f710478f14acc6c198fb7b375e6582db53824db988201
This is usually due to missing setscene tasks. Those missing in this build were: {&apos;virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb:do_deploy_source_date_epoch&apos;,
 &apos;virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb:do_populate_sysroot&apos;,
 &apos;virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.73.bb:do_populate_sysroot&apos;}
ERROR: Task (virtual:native:/home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/layers/build/meta/recipes-support/libgpg-error/libgpg-error_1.42.bb:do_fetch) failed with exit code &apos;setscene whitelist&apos;
ERROR: SDK preparation failed: error log written to /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-11730/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-xuep12be/preparing_build_system.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92153</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-11 15:38:55 +0000</bug_when>
    <thetext>Very similar to bug 14655, is there a race condition while checking the sstate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92171</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-15 23:41:05 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/4140/steps/16/logs/stdio

qemuppc ubuntu1604-ty-1

This time:

ERROR: Task libxml2-native.do_fetch attempted to execute unexpectedly
Task virtual:native:/home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testsdkext/layers/build/meta/recipes-core/libxml/libxml2_2.9.12.bb:do_populate_sysroot, unihash db100ff075891eff879f3ecdc2db64e85ab05aea561cca1565aa399af3191532, taskhash db100ff075891eff879f3ecdc2db64e85ab05aea561cca1565aa399af3191532
This is usually due to missing setscene tasks. Those missing in this build were: {&apos;virtual:native:/home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testsdkext/layers/build/meta/recipes-core/libxml/libxml2_2.9.12.bb:do_populate_sysroot&apos;}
ERROR: Task (virtual:native:/home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/qemuppc-poky-linux/core-image-sato/1.0-r0/testsdkext/layers/build/meta/recipes-core/libxml/libxml2_2.9.12.bb:do_fetch) failed with exit code &apos;setscene whitelist&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92176</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-12-16 15:38:30 +0000</bug_when>
    <thetext>task hash mismatch.
Likely not reproducible.
We need better debugging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93177</commentid>
    <comment_count>4</comment_count>
    <who name="Luca Ceresoli">luca.ceresoli</who>
    <bug_when>2022-04-22 19:08:02 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/3491/steps/14/logs/stdio

oe-selftest-ubuntu on ubuntu1804-ty-3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93203</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-04-28 15:00:06 +0000</bug_when>
    <thetext>We have better debugging on the SDK failures now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>