snapcraft kernel: Failed to download 'ubuntu-core/edge'
Bug #1569734 reported by
Gunther Laure
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Using the "kernel" plugin the snapcraft always tries to download an os image using the store api.
Often this step fail with "Failed to download 'ubuntu-core/edge'"
snapcraft -v
2.7
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
snapcraft -d pull ubuntu. com/ubuntu/ ubuntu- xenial snapcraft" , line 31, in <module> main.main( ) python3/ dist-packages/ snapcraft/ main.py" , line 126, in main load(cmd) .main(argv= args['ARGS' ]) python3/ dist-packages/ snapcraft/ commands/ pull.py" , line 39, in main execute( 'pull', args['PART']) python3/ dist-packages/ snapcraft/ lifecycle. py", line 53, in execute config) .run(step, part_names) python3/ dist-packages/ snapcraft/ lifecycle. py", line 81, in run _run_step( step, part, part_names, dirty, recursed) python3/ dist-packages/ snapcraft/ lifecycle. py", line 116, in _run_step python3/ dist-packages/ snapcraft/ pluginhandler. py", line 270, in pull code.pull( ) glaure/ Mercurial/ ubuntu- xenial/ parts/plugins/ x-kernel. py", line 306, in pull core/edge' , self.os_snap, config, self._target_ arch['deb' ]) python3/ dist-packages/ snapcraft/ storeapi/ _download. py", line 56, in download 'Failed to download {!r}'.format(snap))
Loaded local plugin for kernel
Preparing to pull kernel
Pulling kernel
From git://kernel.
* branch HEAD -> FETCH_HEAD
Already up-to-date.
Getting details for 'ubuntu-core/edge'
Encoding URI, headers and body to utf-8.
Downloading 'ubuntu-core/edge'
Encoding URI, headers and body to utf-8.
Traceback (most recent call last):
File "/usr/bin/
snapcraft.
File "/usr/lib/
commands.
File "/usr/lib/
lifecycle.
File "/usr/lib/
_Executor(
File "/usr/lib/
self.
File "/usr/lib/
getattr(part, step)()
File "/usr/lib/
self.
File "/home/
'ubuntu-
File "/usr/lib/
raise RuntimeError(
RuntimeError: Failed to download 'ubuntu-core/edge'