LXD test fails out on first attempt to download image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
Sometimes the image download fails, but the script only tries one time. It should sleep a bit and retry up to 2 more times before giving in.
DEBUG:root:
DEBUG:root:
DEBUG:root:Command lxd init --auto:
DEBUG:root: STDERR: LXD has been successfully configured.
DEBUG:root:No local image available, attempting to import from default remote.
ERROR:root:Command lxc image copy ubuntu:17.10 local: --alias 0e72bbc6f257464
ERROR:root: STDOUT:
Copying the image: metadata: 100% (940.34MB/s)
ERROR:root: STDERR: If this is your first time using LXD, you should also run: lxd init
To start your first container, try: lxc launch ubuntu:16.04
error: Failed remote image download:
- https:/
ERROR:root:Error encountered while attempting to import images from default remote.
WARNING:root:One or more setup stages failed.
DEBUG:root:
ERROR:root:Command lxc launch 0e72bbc6f257464
ERROR:root: STDOUT: Creating testbed
ERROR:root: STDERR: error: not found
DEBUG:root:Cleaning up images and containers created during test
ERROR:root:Command lxc image delete 0e72bbc6f257464
ERROR:root: STDOUT:
ERROR:root: STDERR: error: not found
ERROR:root:Command lxc delete --force testbed returnd a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: error: not found
FAIL: Container was not started and checked
Related branches
- Jeff Lane : Approve
-
Diff: 43 lines (+10/-5)1 file modifiedbin/virtualization (+10/-5)
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → Medium |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
milestone: | 0.41.0 → 0.42.0 |
status: | Fix Released → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |