New issue
Advanced search Search tips

Issue 917405 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 0
Type: Bug-Regression



Sign in to add a comment

CQ failing with: attribute lookup portage.dbapi.vartree._owners_db failed

Project Member Reported by allenwebb@google.com, Dec 21

Issue description

After the portage uprev ( crbug.com/874977 )
./build_packages --board=${BOARD} --withdebugsymbols
Is blocking the CQ with the following failure:

cros_install_debug_syms: Unhandled exception:
Traceback (most recent call last):
  File "/mnt/host/source/chromite/bin/cros_install_debug_syms", line 169, in <module>
    DoMain()
  File "/mnt/host/source/chromite/bin/cros_install_debug_syms", line 165, in DoMain
    commandline.ScriptWrapperMain(FindTarget)
  File "/mnt/host/source/chromite/lib/commandline.py", line 912, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/mnt/host/source/chromite/scripts/cros_install_debug_syms.py", line 324, in main
    processes=options.jobs)
  File "/mnt/host/source/chromite/lib/parallel.py", line 809, in RunTasksInProcessPool
    queue.put((idx, input_args))
  File "<string>", line 2, in put
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 758, in _callmethod
    conn.send((self._id, methodname, args, kwds))
cPickle.PicklingError: Can't pickle <class 'portage.dbapi.vartree._owners_db'>: attribute lookup portage.dbapi.vartree._owners_db failed
 
This error also showed up on all information chrome PFQs, see https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8926521803346406912 as an example.
Components: -Infra>Client>ChromeOS>CI Infra>Client>ChromeOS>Build
Project Member

Comment 3 by bugdroid1@chromium.org, Dec 21

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/89e50af847ea000405fae5955f4f8399af20d784

commit 89e50af847ea000405fae5955f4f8399af20d784
Author: Allen Webb <allenwebb@google.com>
Date: Fri Dec 21 19:13:02 2018

cros_install_debug_syms: Temporary hack to fix  crbug.com/917405 .

The portage uprev caused RunTasksInProcessPool to fail because of a
pickling error:
  attribute lookup portage.dbapi.vartree._owners_db failed
This works around the problem by keeping everything in process.

This needs to be replaced with a proper fix once the CQ stabilizes.

BUG= chromium:917405 
TEST=./build_packages --board=${BOARD} --withdebugsymbols

Change-Id: I9a2df5219a94031f92b16044be62f7a9dee4a024
Reviewed-on: https://chromium-review.googlesource.com/c/1387871
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Allen Webb <allenwebb@google.com>

[modify] https://crrev.com/89e50af847ea000405fae5955f4f8399af20d784/scripts/cros_install_debug_syms.py

Status: Fixed (was: Assigned)
Cc: allenwebb@chromium.org llozano@chromium.org vapier@chromium.org
 Issue 917472  has been merged into this issue.

Sign in to add a comment