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

Issue 780564 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit 26 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

coreboot-sdk always fails to build at first attempt in SDK buider

Project Member Reported by manojgupta@chromium.org, Nov 1 2017

Issue description

coreboot-sdk always fails to build in the SDK builder in the first attempt but succeeds after a retry (InitSDK stage).

Normally, fail + retry is not an issue but coreboot-sdk takes a really long time (around 1 hr) to build. Therefore the SDk builder build time (which is already very long @ 12 hours) further increases by > 1hr. 

It therefore might be a good idea to figure out why it fails to build the first time - missing dependencies etc.

Some recent builds showing the issue (look at InitSDK stage):
https://uberchromegw.corp.google.com/i/chromiumos/builders/chromiumos-sdk/builds/8222
https://uberchromegw.corp.google.com/i/chromiumos/builders/chromiumos-sdk/builds/8223

Note: To build SDK from scratch locally, use cros_sdk --bootstrap
 
Summary: coreboot-sdk always fails to build at first attempt in SDK buider (was: coreboot-sdk always failsto build in first attempt in SDK buider)
Owner: pgeorgi@chromium.org
Status: Assigned (was: Untriaged)
Looks like 8223 isn't even trying to build it (or a lot of other stuff):
Pending 3/14 vs Pending 0/493

The relevant bit on the retryable failure is in 8222's InitSDK log:

WARNING: The following packages failed once or more,
but succeeded upon retry. This might indicate incorrect
dependencies.
  dev-libs/nss-3.30.2-r2
  dev-embedded/coreboot-sdk-0.0.1-r57


The build error on the first attempt is while building nds32's gcc (note to self: improve error reporting)
CL:751202 provides better error messages
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 8 2017

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

commit ff7ab6f85dd7587b467aea77d16090a20aeec785
Author: Patrick Georgi <pgeorgi@google.com>
Date: Wed Nov 08 19:47:53 2017

coreboot-sdk: Report detailed build errors on failure

BRANCH=none
BUG= chromium:780564 
TEST=injected a ".failed" file into the build directory and saw the
build log in the emerge output.

Change-Id: Ic2867db42b291bbc9de9d6064d7b8268bee77d2c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/751202
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>

[modify] https://crrev.com/ff7ab6f85dd7587b467aea77d16090a20aeec785/dev-embedded/coreboot-sdk/coreboot-sdk-9999.ebuild

Status: Verified (was: Assigned)
This is fixed by bmgordon's changes for https://bugs.chromium.org/p/chromium/issues/detail?id=762283
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 19

Labels: merge-merged-firmware-cr50-9308.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/4d4cbe9f2da5c9ff55a0cdb5e85fc79507691a1d

commit 4d4cbe9f2da5c9ff55a0cdb5e85fc79507691a1d
Author: Patrick Georgi <pgeorgi@google.com>
Date: Fri Oct 19 04:35:53 2018

coreboot-sdk: Report detailed build errors on failure

BRANCH=none
BUG= chromium:780564 
TEST=injected a ".failed" file into the build directory and saw the
build log in the emerge output.

Change-Id: Ic2867db42b291bbc9de9d6064d7b8268bee77d2c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/751202
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
(cherry picked from commit ff7ab6f85dd7587b467aea77d16090a20aeec785)
Reviewed-on: https://chromium-review.googlesource.com/c/1273710
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>

[modify] https://crrev.com/4d4cbe9f2da5c9ff55a0cdb5e85fc79507691a1d/dev-embedded/coreboot-sdk/coreboot-sdk-9999.ebuild

Project Member

Comment 7 by bugdroid1@chromium.org, Dec 7

Labels: merge-merged-firmware-cr50-mp-release-9308.87.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/fe25f85947123f75abaf24117c9da4dba27575d5

commit fe25f85947123f75abaf24117c9da4dba27575d5
Author: Patrick Georgi <pgeorgi@google.com>
Date: Fri Dec 07 00:18:12 2018

coreboot-sdk: Report detailed build errors on failure

BRANCH=none
BUG= chromium:780564 
TEST=injected a ".failed" file into the build directory and saw the
build log in the emerge output.

Change-Id: Ic2867db42b291bbc9de9d6064d7b8268bee77d2c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/751202
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
(cherry picked from commit ff7ab6f85dd7587b467aea77d16090a20aeec785)
Reviewed-on: https://chromium-review.googlesource.com/c/1273710
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
(cherry picked from commit 4d4cbe9f2da5c9ff55a0cdb5e85fc79507691a1d)
Reviewed-on: https://chromium-review.googlesource.com/c/1367023

[modify] https://crrev.com/fe25f85947123f75abaf24117c9da4dba27575d5/dev-embedded/coreboot-sdk/coreboot-sdk-9999.ebuild

Sign in to add a comment