[OE-core] [meta-oe][PATCH v5] cve-update-db: do_populate_cve_db depends on do_fetch

Robert Yang liezhi.yang at windriver.com
Mon Jul 8 03:21:18 UTC 2019


Hi Pierre,

Did you try

$ bitbake universe --runall=fetch

Please? It still doesn't work on latest master branch.

ERROR: Running idle function
Traceback (most recent call last):
   File "/buildarea1/lyang1/poky/bitbake/lib/bb/runqueue.py", line 1500, in 
RunQueue.execute_runqueue():
              try:
     >            return self._execute_runqueue()
              except bb.runqueue.TaskFailure:
   File "/buildarea1/lyang1/poky/bitbake/lib/bb/runqueue.py", line 1420, in 
RunQueue._execute_runqueue():
                                                                  [43, 967, 4, 
3, 1, 5, 3, 7, 13, 1, 2, 1, 1, 246, 35, 1, 38, 1, 35, 2, 338, 204, 142, 3, 3, 
37, 244])
     >            if self.rqdata.prepare() == 0:
                      self.state = runQueueComplete
   File "/buildarea1/lyang1/poky/bitbake/lib/bb/runqueue.py", line 906, in 
RunQueueData.prepare():
                      for tid in list(runall_tids):
     >                    mark_active(tid,1)

   File "/buildarea1/lyang1/poky/bitbake/lib/bb/runqueue.py", line 837, in 
mark_active(tid='/buildarea1/lyang1/poky/meta/recipes-core/meta/cve-update-db.bb:do_fetch', 
depth=1):
                  for depend in depends:
     >                mark_active(depend, depth+1)

   File "/buildarea1/lyang1/poky/bitbake/lib/bb/runqueue.py", line 835, in 
mark_active(tid='/buildarea1/lyang1/poky/meta/recipes-core/meta/cve-update-db.bb:do_populate_cve_db', 
depth=2):

     >            depends = self.runtaskentries[tid].depends
                  for depend in depends:
KeyError: 
'/buildarea1/lyang1/poky/meta/recipes-core/meta/cve-update-db.bb:do_populate_cve_db'

// Robert


On 7/3/19 5:44 PM, Pierre Le Magourou wrote:
> Hello,
> 
>> This patch broke "bitbake universe --runall=fetch" totally:
>>
>> The line which caused the problem is:
>> addtask do_populate_cve_db before do_fetch
>>
>> Would you please fix it? Or I can help if needed.
>>
> 
> This seems related to the NVD website down problem. I sent a patch to
> manage inaccessible URLs. cve-update-db will not fail anymore if the
> NVD data feeds cannot be downloaded.
> 
> Pierre
> 


More information about the Openembedded-core mailing list