system-image-cli hangs indefinitely at "Running group download reactor"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-image (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My current state:
$ system-image-cli -i
current build number: 4
device name: mako
channel: trusty-proposed
last update: 2013-10-24 10:34:55
version version: 4
version ubuntu: 20131023
version device: 20131015
Trying to downgrade to the stable channel results in system-image-cli hanging indefinitely:
$ system-image-cli -c stable -n -v
[systemimage] Oct 24 12:52:36 2013 (5326) Looking for blacklist: https:/
r.xz
[systemimage] Oct 24 12:52:36 2013 (5326) Requesting group download:
https:/
https:/
[systemimage] Oct 24 12:52:36 2013 (5326) Running group download reactor
^C[systemimage] Oct 24 12:52:38 2013 (5326) uncaught exception in state machine
Traceback (most recent call last):
File "/usr/lib/
step()
File "/usr/lib/
get_
File "/usr/lib/
(ascxz_src, ascxz_dst),
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise KeyboardInterrupt
KeyboardInterrupt
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: system-image-cli 1.9.1-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.5-0ubuntu2
Architecture: armhf
Date: Thu Oct 24 12:46:57 2013
InstallationDate: Installed on 2013-10-23 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20131023)
MarkForUpload: True
PackageArchitec
SourcePackage: system-image
UpgradeStatus: No upgrade log present (probably fresh install)
That looks like a problem with the download service not sending us the necessary signals. I'll bet it's unreproducible right? ;)
Eventually, the reactor would timeout anyway (default is 10 minutes), but that probably wouldn't help you debug this much. If you wanted to, you could set the environment variable SYSTEMIMAGE_ REACTOR_ TIMEOUT to some huge number of seconds and see if it's just a slow network connection. While you're doing that, tail /var/log/ system- image/client. log for details about system-image-dbus and (I think) /home/phablet/ .cache/ ubuntu- download- manager/ ubuntu- download- manager/ ubuntu- download- manager. log (!) for details about what's happening in the dl service.
Best guess is that it's just an intermittent networking problem.