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

Issue 878008 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Handle missing/expired cache in packages.py checksum code

Project Member Reported by mattmallett@chromium.org, Aug 27

Issue description

Memqual fails with "Unhandled ValueError: need more than 1 value to unpack". The image cache expires during memqual's run and when the package manager code tries to fetch artifacts from devserver, it instead gets a cherrypy 404 page. This HTML page is saved directly in packages.checksum, which breaks the checksum management code.

 
packages.checksum
1.3 KB Download
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 2

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

commit 6da5d6b30a008319ec5dfdeca3c77c90833cb502
Author: Matt Mallett <mattmallett@chromium.org>
Date: Tue Oct 02 12:19:28 2018

[autotest] Make sure autotest is staged before package install

Fixing an issue where at times the package manager would
attempt to install autotest after devserver's cache had expired.
The install would fail silently and would blow up when the
packages.checksum was a devserver 404 page instead of the expected
checksum file format.

Simply use the cros_host.verify_job_repo_url function to verify
the devserver is reachable, and make the devserver stage the
autotest artifacts if needed.

BUG= chromium:878008 , b:109894838
TEST=Run hardware_memoryqual on local moblab

Change-Id: I147a50b14c6f1b4cac8b98049c8977f16542d012
Reviewed-on: https://chromium-review.googlesource.com/1246470
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>

[modify] https://crrev.com/6da5d6b30a008319ec5dfdeca3c77c90833cb502/server/autotest.py
[modify] https://crrev.com/6da5d6b30a008319ec5dfdeca3c77c90833cb502/server/autotest_unittest.py

Project Member

Comment 3 by bugdroid1@chromium.org, Oct 2

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

commit 579c72a7659f5bd7688d40a3656f54dd9dca4381
Author: Matt Mallett <mattmallett@chromium.org>
Date: Tue Oct 02 12:19:28 2018

[autotest] curl should fail on non 200 from devserver

curl fails silently, and downloads an html 404 page instead
of the expected content. Update curl to return non-zero
status on non 200 status code

BUG= chromium:878008 , b:109894838
TEST=Run hardware_memoryqual on local moblab

Change-Id: I2baae6f713f7323f97dae99bb0550fdcc98f53d5
Reviewed-on: https://chromium-review.googlesource.com/1249614
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>

[modify] https://crrev.com/579c72a7659f5bd7688d40a3656f54dd9dca4381/client/common_lib/packages.py

Status: Fixed (was: Assigned)

Sign in to add a comment