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

Issue 698913 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

BuildPackages failed at downloading chromeos-chrome packages from GS

Project Member Reported by nxia@chromium.org, Mar 7 2017

Issue description

BuildPackage failed at downloading files from GS. It currently retries once and fails the command if both tries fail. Increasing the retry times and add backoff time might help avoid this kind of GS flake. 

https://luci-milo.appspot.com/buildbot/chromeos/auron-paladin/9723


chromeos-chrome-58.0.3028.0_rc-r1: Downloading ...-base/chromeos-chrome-58.0.3028.0_rc-r1.tbz2.tmp: 143.88 MiB/143.88 MiB    
chromeos-chrome-58.0.3028.0_rc-r1: ('The read operation timed out',)
chromeos-chrome-58.0.3028.0_rc-r1: CommandException: Some components of /build/auron/packages/chromeos-base/chromeos-chrome-58.0.3028.0_rc-r1.tbz2.tmp were not downloaded successfully. Please retry this download.
chromeos-chrome-58.0.3028.0_rc-r1: 
chromeos-chrome-58.0.3028.0_rc-r1: cmd=['/mnt/host/source/.cache/common/gsutil_4.19.tar.gz/gsutil/gsutil', '-o', 'Boto:num_retries=10', 'cp', '-v', '--', 'gs://chromeos-prebuilt/board/cyan/chrome-R58-9331.0.0-rc1/packages/chromeos-base/chromeos-chrome-58.0.3028.0_rc-r1.tbz2', '/build/auron/packages/chromeos-base/chromeos-chrome-58.0.3028.0_rc-r1.tbz2.tmp'], extra env={'BOTO_CONFIG': '/mnt/host/source/src/private-overlays/chromeos-overlay/googlestorage_account.boto'}
chromeos-chrome-58.0.3028.0_rc-r1: >>> Failed to emerge chromeos-base/chromeos-chrome-58.0.3028.0_rc-r1 for /build/auron/
 

Comment 1 by xixuan@chromium.org, Apr 27 2017

Cc: xixuan@chromium.org warx@chromium.org chingcodes@chromium.org michae...@chromium.org
 Issue 716194  has been merged into this issue.

Comment 2 by warx@chromium.org, Apr 27 2017

Labels: Build-PFQ-Failures
Something that might confuse people: gsutil downloads large files in multiple parts. I think this is why the download seems to "complete" before the failure happens:

  chromeos-chrome-58.0.3028.0_rc-r1: Downloading ...-base/chromeos-chrome-58.0.3028.0_rc-r1.tbz2.tmp: 143.88 MiB/143.88 MiB    
  chromeos-chrome-58.0.3028.0_rc-r1: ('The read operation timed out',)

The .tbz2 file in storage is really 431.65 MiB, but it's fetching 143.88 MiB. 431.65 / 3 = 143.88.

So one of the 3 parts finishes downloading, and my guess is that a read operation times out when attempting to download the *next* part.
Cc: dgarr...@chromium.org dshi@chromium.org itspeter@chromium.org akes...@chromium.org semenzato@chromium.org diand...@chromium.org
 Issue 676434  has been merged into this issue.
Cc: adlr@chromium.org abhishekbh@chromium.org
 Issue 683423  has been merged into this issue.
From semenzato via  issue 683423 :

Looks like a Google Storage glitch.

The error message says "Please retry this download" and it would seem that we retry once.  But from the log it would seem that we don't stop at the second failure, instead we try to source the file, which doesn't exist.  Why do we do that?

Also, there are too few time stamps, and also, the two download progress lists are identical, so one suspects that we didn't really retry, just printed the log twice.  This sort of things make the root errors hard to pinpoint, and there is a mismatch: the producer of these messages (someone in the infra team) is not the first-line consumer (the sheriff).

Comment 8 by nxia@chromium.org, Aug 18 2017

Summary: BuildPackages failed at downloading chromeos-chrome packages from GS (was: Increase gs copy retry in BuildPackages)
Components: Infra>Client>ChromeOS>CI
Components: -Infra>Client>ChromeOS

Comment 11 by nxia@chromium.org, May 17 2018

Owner: ----
Status: Available (was: Untriaged)

Sign in to add a comment