My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 205015: chromiumos sdk build failing in SDKTest
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by dianders@chromium.org, Oct 21, 2011
The failure is here: <http://build.chromium.org/p/chromiumos/builders/chromiumos%20sdk/builds/362/steps/SDKTest/logs/stdio>

Comparing to the previous build (which passed), my best guess is that the important error is:
  useradd: UID 1001 is not unique

...but here's the fragment around the failure, anyway:

  INFO: RunCommand: ['curl', '-f', '--retry', '5', '-L', '-y', '30', '--output', '/b/cbuild/sdks/built-sdk.tbz2', 'file:///b/cbuild/built-sdk.tbz2']
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0  420M    0 16383    0     0  48870      0  2:30:29 --:--:--  2:30:29 48870
   51  420M   51  218M    0     0   231M      0  0:00:01 --:--:--  0:00:01  357M
  100  420M  100  420M    0     0   281M      0  0:00:01  0:00:01 --:--:--  363M
  cros_sdk: Cleaning up old mount points...
  cros_sdk: Deleting /b/cbuild/new-sdk-chroot...
  cros_sdk: Done.
  
  cros_sdk: Unpacking STAGE3...
  cros_sdk: Set timezone...
  cros_sdk: Adding user/group...
  useradd: UID 1001 is not unique
  Downloading sdk: "file:///b/cbuild/built-sdk.tbz2"
  Running ['/b/cbuild/src/third_party/chromiumos-overlay/chromeos/scripts/make_chroot', '--cros_sdk', '--stage3_path', '/b/cbuild/sdks/built-sdk.tbz2', '--chroot', '/b/cbuild/new-sdk-chroot', '--replace'] failed!
  
  @@@STEP_FAILURE@@@
  Traceback (most recent call last):
    File "/b/build/slave/chromiumos-sdk/build/chromite/buildbot/builderstage.py", line 238, in Run
      self._PerformStage()
    File "/b/build/slave/chromiumos-sdk/build/chromite/buildbot/cbuildbot_stages.py", line 633, in _PerformStage
      cros_lib.RunCommand(cmd, cwd=self._build_root)
    File "/b/build/slave/chromiumos-sdk/build/chromite/lib/cros_build_lib.py", line 233, in RunCommand
      raise RunCommandError(msg, cmd, proc.returncode)
  RunCommandError: ('Failed command "[\'cros_sdk\', \'--download\', \'--chroot\', \'new-sdk-chroot\', \'--replace\', \'--url\', \'file:///b/cbuild/built-sdk.tbz2\']" with extra env None\n', ['cros_sdk', '--download', '--chroot', 'new-sdk-chroot', '--replace', '--url', 'file:///b/cbuild/built-sdk.tbz2'], 1)

Oct 21, 2011
#1 asha...@chromium.org
I can't find my email address in the blame list. Are you sure this is because of my CL?
Oct 21, 2011
#2 asha...@chromium.org
(No comment was entered for this change.)
Cc: dianders@chromium.org
Oct 21, 2011
#3 dianders@chromium.org
Sorry about that.  Didn't mean to blame you for this one.  At this point, I'm not sure where the problem lies.  I will try to track something down on Monday.
Owner: ---
Cc: asha...@chromium.org
Oct 21, 2011
#4 dianders@chromium.org
Actually, this one looks very promising:
  http://gerrit.chromium.org/gerrit/#change,10485

It's in the blame list and is mucking with user 1001.  I don't know enough about the failure at the moment, but it is mighty suspect.

Could probably try a revert of that change and see if it fixes things?  ...oh, except that Ben has made a whole bunch of followon changes that seem like they might depend on this one.  :(
Cc: benc...@chromium.org rochb...@chromium.org jrbarne...@chromium.org
Oct 22, 2011
#5 benc...@chromium.org
From the build log, it seems that UID 1001 is already used on that buildbot.

I looked into the chromiumos-overlay/eclass/useradd.eclass. It doesn't seem to check for existing UIDs or fall back to a different UIDs when useradd fails.

We could assign chronos-access a different UID, but that won't guarantee the problem won't happen again in the future.
Oct 22, 2011
#6 benc...@chromium.org
Seems like this CL may fix the issue: http://gerrit.chromium.org/gerrit/#change,10260.

Cc: zbe...@chromium.org davidjames@chromium.org
Oct 25, 2011
#7 dianders@chromium.org
Seems to be fixed.  Thanks!
Status: Fixed
Owner: zbe...@chromium.org
Labels: Iteration-41 TreeCloser
Nov 2, 2011
#8 kr...@chromium.org
(No comment was entered for this change.)
Status: Verified
Mar 6, 2013
#9 lafo...@google.com
(No comment was entered for this change.)
Labels: OS-Chrome
Mar 9, 2013
#10 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-Build -TreeCloser Build Hotlist-TreeCloser
Sign in to add a comment

Powered by Google Project Hosting