New issue
Advanced search Search tips

Issue 721861 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 721506



Sign in to add a comment

Third provision attempt always fails

Project Member Reported by ayatane@chromium.org, May 12 2017

Issue description

The third devserver provision attempt will always fail.

Example: https://luci-milo.appspot.com/buildbot/chromeos/cyan-paladin/2516

Log:

05/11 19:03:00.701 DEBUG|        dev_server:2105| AU failed, trying IP instead of hostname: 100.115.197.76
05/11 19:03:00.702 DEBUG|        dev_server:2015| Start CrOS auto-update for host chromeos4-row6-rack9-host2 at 3 time(s).
05/11 19:03:00.706 DEBUG|        dev_server:2040| Try updating stateful partition of the host with the same version of its current rootfs partition: cyan/9542.0.0-rc2
05/11 19:03:00.708 DEBUG|             utils:0202| Running 'ssh 100.115.219.136 'curl "http://100.115.219.136:8082/cros_au?full_update=False&force_update=True&build_name=cyan-paladin/R60-9542.0.0-rc4&host_name=100.115.197.76&async=True&original_build=cyan/9542.0.0-rc2"''
05/11 19:03:02.919 INFO |        dev_server:1771| Received response from devserver for cros_au call: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html>\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>\n    <title>500 Internal Server Error</title>\n    <style type="text/css">\n    #powered_by {\n        margin-top: 20px;\n        border-top: 2px solid black;\n        font-style: italic;\n    }\n\n    #traceback {\n        color: red;\n    }\n    </style>\n</head>\n    <body>\n        <h2>500 Internal Server Error</h2>\n        <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>\n        <pre id="traceback">Traceback (most recent call last):\n  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 656, in respond\n    response.body = self.handler()\n  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 188, in __call__\n    self.body = self.oldhandler(*args, **kwargs)\n  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 34, in __call__\n    return self.callable(*self.args, **self.kwargs)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/devserver.py", line 926, in cros_au\n    archive_url=release_archive_url)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/devserver.py", line 877, in stage\n    dl.Download(factory, async=async)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/downloader.py", line 196, in Download\n    self._DownloadArtifactsSerially(required_artifacts, no_wait=True)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/downloader.py", line 235, in _DownloadArtifactsSerially\n    artifact.Process(self, no_wait)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/build_artifact.py", line 337, in Process\n    self.name, self.is_regex_name, timeout)\n  File "/home/chromeos-test/chromiumos/src/platform/dev/downloader.py", line 333, in Wait\n    (name, self._archive_url))\nArtifactDownloadError: Could not find stateful.tgz in Google Storage at gs://chromeos-releases/stable-channel/cyan/9542.0.0-rc2\n</pre>\n    <div id="powered_by">\n    <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.2</a></span>\n    </div>\n    </body>\n</html>\n'
05/11 19:03:02.922 DEBUG|        dev_server:1893| Failed to trigger auto-update process on devserver
 
Blockedon: 721506

Comment 2 by aut...@google.com, May 23 2017

Status: Unconfirmed (was: Untriaged)
Status: Started (was: Unconfirmed)
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/9785a705bf8a876bdc154b7ef312b51aae914c6b

commit 9785a705bf8a876bdc154b7ef312b51aae914c6b
Author: xixuan <xixuan@chromium.org>
Date: Tue Jun 13 22:12:41 2017

autotest: disable provision with original build for hosts at normal state

The hosts at normal state means they're in a valid build, whose
lsb-release contains full chromeos release info, like MILESTONE.
For these hosts, their build is too new to have no stable-channel
version in gs, which causes the provision with original build definitely
fail for them. so just use the target build to do provision.

BUG= chromium:721861 
TEST=None

Change-Id: If3a753ce6e17ac7aea3317bc9924e391b60ac474
Reviewed-on: https://chromium-review.googlesource.com/528652
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>

[modify] https://crrev.com/9785a705bf8a876bdc154b7ef312b51aae914c6b/client/common_lib/cros/dev_server.py

Comment 5 by xixuan@chromium.org, Jun 26 2017

Status: Fixed (was: Started)

Sign in to add a comment