chrome-pfq build failure: Not mounting chrome source: could not find CHROME_ROOT/src dir. |
|||||||||||||
Issue descriptionreef-chrome-pfq has been failing to build the package since: https://uberchromegw.corp.google.com/i/chromeos/builders/reef-chrome-pfq/builds/2165 The error is as following: ERROR cros_sdk:enter_chroot: Not mounting chrome source: could not find CHROME_ROOT/src dir. ERROR cros_sdk:enter_chroot: Full path we tried: /b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal/src ERROR cros_sdk:enter_chroot: Fri Mar 23 20:50:32 PDT 2018 ERROR cros_sdk:enter_chroot: PGID PPID PID ELAPSED TIME %CPU COMMAND ERROR cros_sdk:enter_chroot: Arguments of 10: '--chroot' '/b/c/cbuild/repository/chroot' '--cache_dir' '/b/c/cbuild/repository/.cache' '--chrome_root' '/b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal' '--goma_dir' '/b/c/goma_client' '--goma_client_json' '/creds/service_accounts/service-account-goma-client.json' '--' 'GOMA_SERVICE_ACCOUNT_JSON_FILE=/creds/service_accounts/service-account-goma-client.json' 'USE=chrome_internal' 'USE_GOMA=true' 'FEATURES=separatedebug' 'CHROME_ORIGIN=LOCAL_SOURCE' 'GOMA_BACKEND_SOFT_STICKINESS=false' 'GOMA_CACHE_DIR=/home/chrome-bot/goma/goma_cache/BuildPackages' 'PARALLEL_EMERGE_STATUS_FILE=/tmp/tmpI9NmPb' 'GOMA_MAX_COMPILER_DISABLED_TASKS=30' 'GOMA_DIR=/home/chrome-bot/goma' 'GLOG_log_dir=/tmp/goma_tmp_dir.gzQTxS/log_dir' 'GOMA_TMP_DIR=/tmp/goma_tmp_dir.gzQTxS' 'GOMA_DEPS_CACHE_FILE=goma.deps' '--' './build_packages' '--board=reef' '--accept_licenses=@CHROMEOS' '--withdebugsymbols' '--skip_chroot_upgrade' '--run_goma' '--withevents' '--eventfile=/mnt/host/source/buildbot_archive/reef-chrome-pfq/R67-10513.0.0-rc1/build-events.json' 'virtual/target-os' 'virtual/target-os-dev' 'virtual/target-os-test' 'virtual/target-os-factory' 'virtual/target-os-factory-shim' 'chromeos-base/autotest-all' ERROR cros_sdk:enter_chroot: Backtrace: (most recent call is last) ERROR cros_sdk:enter_chroot: enter_chroot.sh:577:main(), called: setup_env ERROR cros_sdk:enter_chroot: enter_chroot.sh:574:setup_env(), called: die 'setup_env failed' ERROR cros_sdk:enter_chroot: ERROR cros_sdk:enter_chroot: Error was: ERROR cros_sdk:enter_chroot: setup_env failed Looks like some infra issue, which made it can't find CHROME_ROOT/src dir.
,
Mar 26 2018
All the bots in #1 are failing to build for the reason issue.
,
Mar 26 2018
,
Mar 26 2018
,
Mar 26 2018
,
Mar 26 2018
This is currently causing multiple PFQ failures. Who can we assign this to?
,
Mar 26 2018
gardener should drive this. we can grant access to builders if needed. ccing bmgordon as i wonder if it's a chroot issue.
,
Mar 26 2018
I'm trying to figure out what might have caused this by looking at the recent changes under src/scripts and chromite/ to see if anything is relevant. +achuith and +dgarret: Do you have an idea where else I should look?
,
Mar 26 2018
Looking at the root-chrome-pfq, it's been failing since the 20th, with two exceptions. Are all of those failures the same? And why did those two exceptions pass? I don't see any relevant CLs in the blame lists. Was Goma updated at a relevant point in time? Have Chrome Makefiles (or whatever) been updated at relevant points? I have no answers, only questions.
,
Mar 26 2018
The FYI builders are fine, just the PFQ builders are failing. This is the first failing PFQ build on betty: https://uberchromegw.corp.google.com/i/chromeos/builders/betty-chrome-pfq/builds/1357 This CL is the only one that looks suspicious: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/969903 Mike - can we trying reverting your CL? It also looks like build_packages succeeded for 3 builds late Mar 22 before starting to fail again.
,
Mar 26 2018
That CL isn't related.
,
Mar 26 2018
,
Mar 26 2018
Looking at the build: https://uberchromegw.corp.google.com/i/chromeos/builders/peach_pit-chrome-pfq/builds/5231 The two commands run in the "SyncChrome" step are: - /b/c/cbuild/repository/chromite/bin/sync_chrome --reset --ignore_locks --internal --tag 67.0.3380.0 /b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal in /b/c/cbuild/repository - /b/c/cbuild/repository/chromium/tools/depot_tools/gclient revert --nohooks in /b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal The command run in "InitSDK" to enter chroot is: - /b/c/cbuild/repository/chromite/bin/cros_sdk --buildbot-log-version --create --replace '--chrome_root=/b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal' in /b/c/cbuild/repository 23:51:23: NOTICE: Deleting chroot. However, the command and error we get at the BuildPackages step are: 00:05:00: INFO: RunCommand: /b/c/cbuild/repository/chromite/bin/cros_sdk --goma_dir /b/c/goma_client --goma_client_json /creds/service_accounts/service-account-goma-client.json '--chrome_root=/b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal' 'GOMA_SERVICE_ACCOUNT_JSON_FILE=/creds/service_accounts/service-account-goma-client.json' 'USE=chrome_internal' 'USE_GOMA=true' 'FEATURES=separatedebug' 'CHROME_ORIGIN=LOCAL_SOURCE' 'GOMA_BACKEND_SOFT_STICKINESS=false' 'GOMA_CACHE_DIR=/home/chrome-bot/goma/goma_cache/BuildPackages' 'PARALLEL_EMERGE_STATUS_FILE=/tmp/tmpuxuvJ3' 'GOMA_MAX_COMPILER_DISABLED_TASKS=30' 'GOMA_DIR=/home/chrome-bot/goma' 'GLOG_log_dir=/tmp/goma_tmp_dir.X3hCbO/log_dir' 'GOMA_TMP_DIR=/tmp/goma_tmp_dir.X3hCbO' 'GOMA_DEPS_CACHE_FILE=goma.deps' -- ./build_packages '--board=peach_pit' '--accept_licenses=@CHROMEOS' --withdebugsymbols --skip_chroot_upgrade --run_goma --withevents '--eventfile=/mnt/host/source/buildbot_archive/peach_pit-chrome-pfq/R67-10518.0.0-rc3/build-events.json' virtual/target-os virtual/target-os-dev virtual/target-os-test virtual/target-os-factory virtual/target-os-factory-shim chromeos-base/autotest-all in /b/c/cbuild/repository ERROR cros_sdk:enter_chroot: Not mounting chrome source: could not find CHROME_ROOT/src dir. Note that the chrome_root argument to all the above commands match: "/b/c/cbuild/repository/.cache/distfiles/target-master/chrome-src-internal" Adding some folks from the goma team if they can see something relevant.
,
Mar 27 2018
Shinya, will you take a look?
,
Mar 27 2018
Hmm, not sure why goma is related... anyway I'll take a look from goma side.
,
Mar 27 2018
The error occurred in cros_sdk:enter_chroot, and it's saying CHROME_ROOT/src dir is not found. That process is before goma is used, so IMO goma is not related (though goma can be related with some super exceptional reason, but possibility seems low)
,
Mar 27 2018
Marking as P0 since PFQ is broken since last week
,
Mar 27 2018
The PFQ builds are no longer suffering from this issue; they no longer fail at the BuildPackages step. The current failures are due to other reasons that I will track in other bugs. Marking this as WontFix
,
Mar 27 2018
Oh.. sorry to point the finger at Goma. I'm really confused about why you would get an error entering the chroot after InitSdk finished. |
|||||||||||||
►
Sign in to add a comment |
|||||||||||||
Comment 1 by jen...@chromium.org
, Mar 26 2018