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

Issue 812024 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Moblab not able to boot, wget not available to download the base package

Project Member Reported by haddowk@chromium.org, Feb 13 2018

Issue description


Need to move the wget command to curl....

Error

stderr:
sudo: wget: command not found)
WARNING:root:Retrying in 7.873395 seconds...
DEBUG:root:Running 'sudo wget -nv http://storage.googleapis.com/abci-ssp/autotest-containers/base_05.tar.xz -O /tmp/base_05.tar.xz_qBgZgo'
ERROR:root:[stderr] sudo: wget: command not found
WARNING:root:<class 'autotest_lib.client.common_lib.error.CmdError'>(Command <sudo wget -nv http://storage.googleapis.com/abci-ssp/autotest-containers/base_05.tar.xz -O /tmp/base_05.tar.xz_qBgZgo> failed, rc=1, Command returned non-zero exit status
* Command: 
    sudo wget -nv http://storage.googleapis.com/abci-ssp/autotest-
    containers/base_05.tar.xz -O /tmp/base_05.tar.xz_qBgZgo
Exit status: 1
Duration: 0.005854845047
 
Cc: dshi@chromium.org

Comment 2 by dshi@chromium.org, Feb 14 2018

I thought you made the move already? What's the status of your CL?

I found another case, that one was downloading in packages.py, this is in lxc.py

I am working on a new CL.
FYI: As you have already noticed, moblab-generic-vm based VMTests do not provide coverage for container / SSP related stuff because I haven't been able to get it to work in the VM at all.
Project Member

Comment 5 by bugdroid1@chromium.org, Feb 15 2018

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

commit 5cd87fee0a3cdc195b3ec2e991a162fdc640cc28
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Feb 15 04:38:57 2018

[autotest] Change lxc container download from wget to curl.

BUG= chromium:812024 
TEST=local moblab testing

Change-Id: I8f28f13135fb56b935c02fff52a165bb4d4f9acc
Reviewed-on: https://chromium-review.googlesource.com/919148
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>

[modify] https://crrev.com/5cd87fee0a3cdc195b3ec2e991a162fdc640cc28/site_utils/lxc/lxc.py

Status: Fixed (was: Started)
Project Member

Comment 7 by bugdroid1@chromium.org, Apr 20 2018

Labels: merge-merged-release-R65-10323.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/f6ee0c50b4a67eef9f439c9dba8279762edfc509

commit f6ee0c50b4a67eef9f439c9dba8279762edfc509
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Apr 20 16:43:33 2018

[autotest] Change lxc container download from wget to curl.

BUG= chromium:812024 
TEST=local moblab testing

Change-Id: I8f28f13135fb56b935c02fff52a165bb4d4f9acc
Reviewed-on: https://chromium-review.googlesource.com/919148
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
(cherry picked from commit 5cd87fee0a3cdc195b3ec2e991a162fdc640cc28)
Reviewed-on: https://chromium-review.googlesource.com/1022016
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>

[modify] https://crrev.com/f6ee0c50b4a67eef9f439c9dba8279762edfc509/site_utils/lxc/lxc.py

Sign in to add a comment