New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 768099 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

widespread failures to create file/symlink in chroot

Project Member Reported by akes...@chromium.org, Sep 23 2017

Issue description

https://uberchromegw.corp.google.com/i/chromeos/builders/kevin-paladin/builds/2494

Believed related to chroot-reuse project?

@@@BUILD_STEP@SetupBoard@@@
************************************************************
@@@STEP_LINK@stdout-->stdio@https://luci-logdog.appspot.com/v/?s=chromeos%2Fbb%2Fchromeos%2Fkevin-paladin%2F2494%2F%2B%2Frecipes%2Fsteps%2FSetupBoard%2F0%2Fstdout@@@
** Start Stage SetupBoard - Fri, 22 Sep 2017 16:19:27 -0700 (PDT)
** 
** Stage that is responsible for building host pkgs and setting up a board.
************************************************************
16:19:27: INFO: Running cidb query on pid 3812, repr(query) starts with <sqlalchemy.sql.expression.Update object at 0x7f58401751d0>
Preconditions for the stage successfully met. Beginning to execute stage...
16:19:27: INFO: Running cidb query on pid 3812, repr(query) starts with <sqlalchemy.sql.expression.Update object at 0x7f5840175490>
16:19:27: INFO: RunCommand: /b/c/cbuild/repository/chromite/bin/cros_sdk 'PARALLEL_EMERGE_STATUS_FILE=/tmp/tmp86Pvg_' 'USE=chrome_internal' 'FEATURES=separatedebug -separatedebug splitdebug' -- ./update_chroot --toolchain_boards kevin in /b/c/cbuild/repository
cp: cannot create regular file ‘/b/c/cbuild/repository/chroot/root/.boto’: No such file or directory
ln: failed to create symbolic link ‘/b/c/cbuild/repository/chroot/root/.boto’: No such file or directory
-bash: ./update_chroot: No such file or directory
16:19:29: ERROR: 
return code: 127; command: /b/c/cbuild/repository/chromite/bin/cros_sdk 'PARALLEL_EMERGE_STATUS_FILE=/tmp/tmp86Pvg_' 'USE=chrome_internal' 'FEATURES=separatedebug -separatedebug splitdebug' -- ./update_chroot --toolchain_boards kevin
cmd=['/b/c/cbuild/repository/chromite/bin/cros_sdk', 'PARALLEL_EMERGE_STATUS_FILE=/tmp/tmp86Pvg_', u'USE=chrome_internal', 'FEATURES=separatedebug -separatedebug splitdebug', '--', './update_chroot', '--toolchain_boards', u'kevin'], cwd=/b/c/cbuild/repository, extra env={'PARALLEL_EMERGE_STATUS_FILE': '/tmp/tmp86Pvg_', 'USE': u'chrome_internal', 'FEATURES': 'separatedebug -separatedebug splitdebug'}

 
Looked at the log and there's a step in the beginning failed:


Debugging info:
CURRENT_DIR: '/b/rr/tmpUStdGu/w'
DEPOT_TOOLS_DIR: '/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools'
THIS_DIR: '/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/recipes/recipe_modules/bot_update/resources'
Gclient Solutions
=================
chromite (https://chromium.googlesource.com/chromiumos/chromite.git)
  Dependencies file is .DEPS.git
  Managed mode is OFF
depot_tools (https://chromium.googlesource.com/chromium/tools/depot_tools.git)
  Dependencies file is .DEPS.git
  Managed mode is OFF
===Running /usr/bin/python -u /b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/gclient.py recurse -v git update-index --refresh===
In directory: /b/rr/tmpUStdGu/w
Looking for .gclient starting from /b/rr/tmpUStdGu/w
Traceback (most recent call last):
  File "/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/gclient.py", line 2618, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/gclient.py", line 2604, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/b/rr/tmpUStdGu/rw/checkout/.recipe_deps/depot_tools/gclient.py", line 1699, in CMDrecurse
    return client.RunOnDeps('recurse', args, ignore_requirements=True,
AttributeError: 'NoneType' object has no attribute 'RunOnDeps'
===Failed in 0.0 mins===
WARNING: Failed to update git indices.


Maybe this failure caused the above one?

I was OOO when this happened, but was it resolved?  It looks like it might have been the client error rather than a chroot problem?
Cc: furquan@chromium.org jclinton@chromium.org posciak@chromium.org
I haven't noticed it yet, but this week's sheriffs are in a better place to know, so asking them.
Haven't seen anything like this yet.
Status: WontFix (was: Untriaged)
The blame for this was probably mis-assigned then. I blame me. ;>

Sign in to add a comment