<?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>14585</bug_id>
          
          <creation_ts>2021-10-04 03:37:29 +0000</creation_ts>
          <short_desc>oe-selftest: tinfoil.TinfoilTests.test_wait_event failure</short_desc>
          <delta_ts>2025-02-14 16:48:13 +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>OE-Core</product>
          <component>core</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-SSD</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Naveen Saini">naveen.kumar.saini</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>anuj.mittal</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>steve</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>91648</commentid>
    <comment_count>0</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-10-04 03:37:29 +0000</bug_when>
    <thetext>On master branch, qemux86-64 machine
Worker: debian9-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1609


Error log:
2021-10-02 07:53:59,251 - oe-selftest - INFO - ======================================================================
2021-10-02 07:54:00,977 - oe-selftest - INFO - FAIL: tinfoil.TinfoilTests.test_wait_event (subunit.RemotedTestCase)
2021-10-02 07:54:00,977 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-10-02 07:54:00,977 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/tinfoil.py&quot;, line 121, in test_wait_event
    self.assertTrue(commandcomplete, &apos;Timed out waiting for CommandCompleted event from bitbake server&apos;)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.9/unittest/case.py&quot;, line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Timed out waiting for CommandCompleted event from bitbake server</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91941</commentid>
    <comment_count>1</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2021-11-10 09:11:37 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2830/steps/14/logs/stdio

On CentOS-8 this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92172</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-12-15 23:45:31 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2718/steps/14/logs/stdio

oe-selftest-centos centos8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92240</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-01-07 13:29:08 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2980/steps/14/logs/stdio

oe-selftest-centos centos8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92262</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-01-08 00:12:29 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/2853/steps/14/logs/stdio

fedora33-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92432</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-01-31 20:15:50 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/3065/steps/14/logs/stdio

fedora35-ty-2 has an SSD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92486</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">saul.wold</who>
    <bug_when>2022-02-07 18:41:17 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/3093/steps/14/logs/stdio

fedora35-ty-2 has an SSD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92664</commentid>
    <comment_count>7</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-02-24 16:33:22 +0000</bug_when>
    <thetext>Dunfell occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/3175/steps/14/logs/stdio

oe-selftest-fedora fedora34-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92706</commentid>
    <comment_count>8</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-03-02 16:03:13 +0000</bug_when>
    <thetext>Dunfell occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3235

oe-selftest-centos alma8-ty-2 SSD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92788</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-03-17 10:26:59 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3280/steps/14/logs/stdio

oe-selftest-centos alma8-ty-1 SSD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92811</commentid>
    <comment_count>10</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-03-17 21:28:12 +0000</bug_when>
    <thetext>Dunfell:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3309/steps/14/logs/stdio

oe-selftest-centos alma8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92819</commentid>
    <comment_count>11</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-03-19 18:25:14 +0000</bug_when>
    <thetext>Dunfell:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/3319

oe-selftest-ubuntu ubuntu1604-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92844</commentid>
    <comment_count>12</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2022-03-24 13:55:23 +0000</bug_when>
    <thetext>Dunfell:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3335

oe-selftest-centos centos8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92858</commentid>
    <comment_count>13</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-03-24 15:42:18 +0000</bug_when>
    <thetext>This last failure shows:

AssertionError: False is not true : Timed out waiting for CommandCompleted event from bitbake server (Matching event received: False)

which is with the extra debugging. This means that neither the event we&apos;re looking for or the command completed.

I was also able to find the cookerdaemon log:

https://autobuilder.yocto.io/pub/failed-builds-data/centos8-ty-1-20220323-tinfoil/bitbake-cookerdaemon.log

the key piece of which is:

Running command [&apos;setEventMask&apos;, 2, 20, {&apos;BitBake.SigGen.HashEquiv&apos;: 19, &apos;BitBake.RunQueue.HashEquiv&apos;: 19}, [&apos;bb.event.FilesMatchingFound&apos;, &apos;bb.command.CommandCompleted&apos;, &apos;bb.command.CommandFailed&apos;, &apos;bb.command.CommandExit&apos;]]
Running command [&apos;testCookerCommandEvent&apos;, &apos;conf&apos;]
Running command [&apos;clientComplete&apos;]
Processing Client

so the cooker did get the command and did have an event mask with the right events allowed but the command never ran? It was also alive enough to shut down...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92864</commentid>
    <comment_count>14</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-03-24 17:49:02 +0000</bug_when>
    <thetext>Issue identified, patches on the list. The issue was tinfoil&apos;s run_command swallowing the events.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92872</commentid>
    <comment_count>15</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-03-25 11:48:07 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/3342/steps/14/logs/stdio

This didn&apos;t have the fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92899</commentid>
    <comment_count>16</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-03-31 14:50:55 +0000</bug_when>
    <thetext>Fixed with:

https://git.yoctoproject.org/poky/commit/?id=a10ac380b781073fc995a3ee245d570f7b49055d
https://git.yoctoproject.org/poky/commit/?id=075aeeff2bb5be176e6d58ad3f1e7b7fb2d5b762</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100965</commentid>
    <comment_count>17</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:46:22 +0000</bug_when>
    <thetext>bulk change to add Saul&apos;s non-WR address.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101035</commentid>
    <comment_count>18</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:48:13 +0000</bug_when>
    <thetext>Bulk change: Remove Saul&apos;s old WR address.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>