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

Issue 605408 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

guado_moblab: chromeos-adb-env: A shell was specified but it does not exist ! /bin/sh does not exist in /build/guado_moblab/

Project Member Reported by drinkcat@chromium.org, Apr 21 2016

Issue description

Spotted while looking at different issue:
- https://uberchromegw.corp.google.com/i/chromeos/builders/guado_moblab-release/builds/882/steps/BuildPackages/logs/stdio

chromeos-adb-env-0.0.1-r2:  *  - Groupid: 272
chromeos-adb-env-0.0.1-r2:  *  - Password entry: !
chromeos-adb-env-0.0.1-r2:  *  - User list: adb
chromeos-adb-env-0.0.1-r2:  * Done with group: 'adb'.
chromeos-adb-env-0.0.1-r2:  * Adding user 'adb' to your system ...
chromeos-adb-env-0.0.1-r2:  *  - Userid: 272
chromeos-adb-env-0.0.1-r2:  *  - Groupid: 272
chromeos-adb-env-0.0.1-r2:  * A shell was specified but it does not exist !
chromeos-adb-env-0.0.1-r2:  * ERROR: chromeos-base/chromeos-adb-env-0.0.1-r2::chromiumos failed (preinst phase):
chromeos-adb-env-0.0.1-r2:  *   /bin/sh does not exist in /build/guado_moblab/
chromeos-adb-env-0.0.1-r2:  * 
chromeos-adb-env-0.0.1-r2:  * Call stack:
chromeos-adb-env-0.0.1-r2:  *     ebuild.sh, line  93:  Called pkg_preinst
chromeos-adb-env-0.0.1-r2:  *   environment, line 740:  Called enewuser 'adb'
chromeos-adb-env-0.0.1-r2:  *   environment, line 656:  Called die
chromeos-adb-env-0.0.1-r2:  * The specific snippet of code:
chromeos-adb-env-0.0.1-r2:  *               die "${eshell} does not exist in ${ROOT}";

But succeeds on 2nd round:

WARNING: The following packages failed once or more,
but succeeded upon retry. This might indicate incorrect
dependencies.
  chromeos-base/chromeos-adb-env-0.0.1-r2
@@@STEP_WARNINGS@@@

 
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/a1cfe1b98f3c9ad3c0a163ebdb59c6c12c6ec164

commit a1cfe1b98f3c9ad3c0a163ebdb59c6c12c6ec164
Author: Nicolas Boichat <drinkcat@google.com>
Date: Thu Apr 21 05:31:25 2016

chromeos-adb-env: Add dependency on chromeos-base

At build-time, we need to have /bin/sh installed before adding user.
This sometimes causes BuildPackages failures, that are recovered on the
second attempt.

BUG= chromium:605408 
TEST=Build guado_moblab

Change-Id: I2ef9613c21685d24a64d0e20f5755e849b1a6453
Reviewed-on: https://chromium-review.googlesource.com/340093
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/a1cfe1b98f3c9ad3c0a163ebdb59c6c12c6ec164/chromeos-base/chromeos-adb-env/chromeos-adb-env-0.0.1-r3.ebuild
[modify] https://crrev.com/a1cfe1b98f3c9ad3c0a163ebdb59c6c12c6ec164/chromeos-base/chromeos-adb-env/chromeos-adb-env-0.0.1.ebuild

Owner: drinkcat@chromium.org
Status: Fixed (was: Available)
Bulk verified
Status: Verified (was: Fixed)
bulk verified

Sign in to add a comment