<?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>12378</bug_id>
          
          <creation_ts>2017-11-22 19:24:49 +0000</creation_ts>
          <short_desc>parsing error while using persistent bitbake server</short_desc>
          <delta_ts>2020-06-25 08:27:24 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.4</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="California Sullivan">california.l.sullivan</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>ee.peng.yeoh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>78328</commentid>
    <comment_count>0</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-11-22 19:24:49 +0000</bug_when>
    <thetext>Working on my efi boot partition stuff along with BB_SERVER_TIMEOUT=10000, I ran into the following:

WARNING: Got ParseProgress event for parsing that never started?
ERROR: Command execution failed: Traceback (most recent call last):
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/bb/command.py&quot;, line 113, in runAsyncCommand
    self.cooker.updateCache()
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/bb/cooker.py&quot;, line 1525, in updateCache
    if not self.parser.parse_next():
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/bb/cooker.py&quot;, line 2150, in parse_next
    parsed=parsed, watcher = self.cooker.add_filewatch)
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/bb/cache.py&quot;, line 718, in add_info
    watcher(info_array[0].file_depends)
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/bb/cooker.py&quot;, line 287, in add_filewatch
    watcher.add_watch(f, self.watchmask, quiet=False)
  File &quot;/home/clsulliv/yocto/poky/bitbake/lib/pyinotify.py&quot;, line 1924, in add_watch
    raise WatchManagerError(err, ret_)
pyinotify.WatchManagerError: add_watch: cannot watch /home/clsulliv/yocto/poky/meta/conf WD=-1, Errno=Invalid argument (EINVAL)

In order to get past this I had to kill a number of bitbake processes:

[clsulliv@clsulliv build]$ ps -aux | grep bitb
clsulliv 15006  0.2  0.5 788484 338784 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15008  0.2  0.5 788484 338844 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15009  0.2  0.5 788484 338736 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15010  0.2  0.5 788484 338736 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15011  0.2  0.5 788484 338708 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15012  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15013  0.2  0.5 788484 338760 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15014  0.2  0.5 788484 338760 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15015  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15016  0.1  0.5 788484 338780 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15017  0.2  0.5 788484 338740 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15019  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15020  0.2  0.5 788484 338580 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15021  0.2  0.5 788484 338776 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15022  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15024  0.2  0.5 788484 338736 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15025  0.1  0.5 788484 338636 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15026  0.2  0.5 788484 338772 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15028  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15029  0.1  0.5 788484 338564 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15032  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15034  0.1  0.5 788484 338568 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15037  0.2  0.5 788484 338580 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15040  0.2  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15041  0.1  0.5 788484 338648 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15043  0.2  0.5 788484 338580 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15044  0.1  0.5 788484 338564 ?       Sl   11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15049  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15053  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15056  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15061  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15063  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15066  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15068  0.0  0.5 788484 337740 ?       S    11:15   0:00 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base
clsulliv 15123  0.0  0.0 118516   980 pts/2    S+   11:19   0:00 grep --color=auto bitb
clsulliv 39582  6.1  0.5 788488 341984 ?       Sl   11:10   0:34 python3 /home/clsulliv/yocto/poky/bitbake/bin/bitbake core-image-base

After killing them all it reparsed and I move on.

I&apos;m not sure of the exact steps needed to reproduce this. I was just modifying files/committing changes/doing the occasional rebase when it occurred.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78424</commentid>
    <comment_count>1</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-11-30 16:18:03 +0000</bug_when>
    <thetext>Cal, if you can find a reproducer for this, please enter it in the bug. If you cannot, reassign it to me and I will just push it to future as a bug documentation entry in case someone later finds a reproducer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78597</commentid>
    <comment_count>2</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-12-07 18:05:59 +0000</bug_when>
    <thetext>I haven&apos;t been able to reproduce this for the last week. Assigning back to Brian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78611</commentid>
    <comment_count>3</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 19:09:43 +0000</bug_when>
    <thetext>here for documentation since no reproducer</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87599</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-06-25 08:27:24 +0000</bug_when>
    <thetext>If we get the persistent server going, we may reopen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>