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

Issue 674690 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

stable_version doesn't always have all the build artifacts for testing

Project Member Reported by kevcheng@chromium.org, Dec 15 2016

Issue description

Sometimes are test pushes will fail when the stable_version gets bumped to a version that doesn't have all the build artifacts needed.

One example is this test push: https://groups.google.com/a/google.com/d/msg/chromeos-build-alerts/NGTNQBObQz8/bfhWsfydDQAJ

Failed because au_control.tar.bz2 was not in gandof-release/R55-8872.70.0.  Seems like we could add a check on the stable_version to have required build artifacts before setting to stable.
 
Cc: dgarr...@chromium.org
I think it's a bug that these artifacts would ever be missing
from a beta build.  We might want to see to why that's happening.

The build in question failed.

https://uberchromegw.corp.google.com/i/chromeos_release/builders/gandof-release%20release-R55-8872.B/builds/51

However, hwtest failures are the only reported failures. They might have been retried, or just ignored. I'm not sure.

There is a conceptual disconnect. When writing code, we generally assume that the output of a failed build is 'unsafe' and to be ignored. TPMs (quite reasonably) look at the failures and ignore the ones they think are safe to ignore.

This suggests that we need an explicit way to report "failed and invalid" versus "failed but recoverable", and make sure our code always keeps going with producing and uploading artifacts when it's "recoverable".
Owner: ----
Status: Available (was: Untriaged)
OK, then, it feels like the main fix here is to fix our
release processes so that broken builds like this can't
be released on any channel.  I don't think that's my bug
to fix.

Agreed. Longer term, the Centaur work should address this by breaking the build into fully distinct chunks.

Comment 5 by autumn@chromium.org, Jan 11 2017

Owner: dgarr...@chromium.org

Comment 6 by dchan@google.com, Apr 3 2017

Cc: dhadd...@chromium.org gkihumba@chromium.org
Labels: -Pri-3 Pri-1
The missing au_control.tar.bz2 are happening on a few platforms on M59. Below is an examples:

The error looks like

DownloaderException: Could not find au_control.tar.bz2 in Google Storage at gs://chromeos-image-archive/chell-release/R59-9413.0.0

Here are the list of platforms

Chell:http://cautotest.corp.google.com/afe/#tab_id=view_job&object_id=110066910
quawks: http://cautotest.corp.google.com/afe/#tab_id=view_job&object_id=110066911
reks: http://cautotest.corp.google.com/afe/#tab_id=view_job&object_id=110066914

This is preventing build being push for M59 dev channel. 





Comment 7 by dchan@google.com, Apr 3 2017

Labels: M-59 bvttriage

Comment 8 by dchan@google.com, Apr 3 2017

Cc: -dhadd...@chromium.org dchan@chromium.org

Comment 9 by dchan@google.com, Apr 3 2017

Cc: dhadd...@chromium.org
Cc: pprabhu@chromium.org
Summary: Missing au_control.tar.bz2 in some board (was: stable_version doesn't always have all the build artifacts for testing)
+pprabhu current sheriff 
Re #6: That problem is unrelated to this bug.

Looking at just the Chell case:
It looks like the test was kicked off manually by someone.

The build that generated the artifacts being used was: https://uberchromegw.corp.google.com/i/chromeos/builders/chell-release/builds/964
This build had failed for multiple reasons.


As the failing (manually kicked) test claims the artifacts uploaded do not include au_control.tar.bz2 -- https://pantheon.corp.google.com/storage/browser/chromeos-image-archive/chell-release/R59-9413.0.0

Compare this to the preceding build which does have full artifacts: https://pantheon.corp.google.com/storage/browser/chromeos-image-archive/chell-release/R59-9412.0.0

-------------------
So, if a build failed, it is not completely surprising that some artifacts are missing.

One main claim that the au_control.tar.bz2 artifact should be generated whether or not HWTesting in all its forms succeeds (which is what had failed in that build), but that is unrelated to stable version builds missing certain artifacts (which this bug is about).
Labels: -Pri-1 -bvttriage -M-59 Pri-2
A bit more detail about this specific case: That tarball is created and archived by the AUTestStage. We didn't even run that stage in the failing build because HWTests stage failed.
As such, it is not possible to run autests later for that build.

Please file a separate FR if this behaviour is not what we would like. Returning this bug to its old state.
Summary: stable_version doesn't always have all the build artifacts for testing (was: Missing au_control.tar.bz2 in some board)
Owner: jrbarnette@chromium.org
We shouldn't be bumping the 'stable-version' to a failed build version.
> We shouldn't be bumping the 'stable-version' to a failed build version.

Agreed.  However, in this case, the build in question was pushed to
the beta channel.  So, the statement above quickly degenerates to
"We shouldn't trust builds merely because they've been released on
Beta channel."  Down that path lies madness.

Status: WontFix (was: Available)

Sign in to add a comment