[Bug 1400960] Re: Problems with a snappy tour
Tom Vaughan
thomas.david.vaughan at gmail.com
Tue Dec 16 00:41:54 UTC 2014
I suspect the problem is SIGWINCH. I can reproduce this problem if I
resize or maximize the terminal window while snappy installs docker.
However once things fail they seem to continue to fail no matter what.
> ssh -p 8022 ubuntu at localhost
ubuntu at localhost's password:
Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux 3.16.0-25-generic x86_64)
* Documentation: https://help.ubuntu.com/
Welcome to the Ubuntu Core rolling development release.
* See https://ubuntu.com/snappy
It's a brave new world here in snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snappy --help'
for app installation and transactional updates.
Last login: Thu Dec 11 01:11:05 2014 from 10.0.2.2
ubuntu at localhost:~$ sudo snappy uninstall docker
ubuntu at localhost:~$ sudo snappy install docker
Traceback (most recent call last): ]
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 105, in run
t = download_click(details["anon_download_url"], progress_class)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 48, in download_click
acq.fetch(package_uri, package_path)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 264, in fetch
self._run_acquire_method(uri, destfile)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 235, in _run_acquire_method
for number, raw_message in _read_messages(p.stdout, self.TIMEOUT):
File "/usr/lib/python3/dist-packages/click/acquire.py", line 84, in _read_messages
rl, wl, xl = select.select([infd], [], [], timeout)
InterruptedError: [Errno 4] Interrupted system call
ubuntu at localhost:~$ sudo snappy install docker
docker 4 MB [========================================= Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.exit(main())
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 105, in run
t = download_click(details["anon_download_url"], progress_class)
File "/usr/lib/python3/dist-packages/click/commands/install.py", line 48, in download_click
acq.fetch(package_uri, package_path)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 264, in fetch
self._run_acquire_method(uri, destfile)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 235, in _run_acquire_method
for number, raw_message in _read_messages(p.stdout, self.TIMEOUT):
File "/usr/lib/python3/dist-packages/click/acquire.py", line 84, in _read_messages
rl, wl, xl = select.select([infd], [], [], timeout)
InterruptedError: [Errno 4] Interrupted system call
ubuntu at localhost:~$ Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/click/acquire/https", line 30, in <module>
m.run()
File "/usr/lib/python3/dist-packages/click/acquire.py", line 295, in run
self.fetch(message.get("URI"), message.get("FileName"))
File "/usr/lib/python3/dist-packages/click/acquire.py", line 385, in fetch
self.uri_done(uri, destfile)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 321, in uri_done
""").format(uri=uri, filename=filename, size=os.path.getsize(filename),
File "/usr/lib/python3.4/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpf96bhatg'
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/click/acquire/https", line 30, in <module>
m.run()
File "/usr/lib/python3/dist-packages/click/acquire.py", line 295, in run
self.fetch(message.get("URI"), message.get("FileName"))
File "/usr/lib/python3/dist-packages/click/acquire.py", line 385, in fetch
self.uri_done(uri, destfile)
File "/usr/lib/python3/dist-packages/click/acquire.py", line 321, in uri_done
""").format(uri=uri, filename=filename, size=os.path.getsize(filename),
File "/usr/lib/python3.4/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpaqcsfh1c'
ubuntu at localhost:~$ sudo cat /var/log/system-image/client.log
[systemimage] Dec 11 01:11:24 2014 (790) SystemImage dbus main loop starting [ubuntu-core/devel/generic_amd64]
[systemimage] Dec 11 01:11:24 2014 (790) Mediator created <Mediator at 0x7f504fd6c470 | State at 0x7f504fd6c4a8>
[systemimage] Dec 11 01:11:32 2014 (790) test and acquire checking lock
[systemimage] Dec 11 01:11:32 2014 (790) checking lock acquired
[systemimage] Dec 11 01:11:32 2014 (790) Mediator recreated <Mediator at 0x7f504fd6c5c0 | State at 0x7f504fd6c630>
[systemimage] Dec 11 01:11:32 2014 (790) Enter _check_for_update()
[systemimage] Dec 11 01:11:32 2014 (790) No valid image master key found, downloading
[systemimage] Dec 11 01:11:35 2014 (790) Looking for blacklist: https://system-image.ubuntu.com/gpg/blacklist.tar.xz
[systemimage] Dec 11 01:11:38 2014 (790) Local blacklist file: /var/lib/system-image/blacklist.tar.xz
[systemimage] Dec 11 01:11:38 2014 (790) No valid image signing key found, downloading
[systemimage] Dec 11 01:11:42 2014 (790) Looking for: https://system-image.ubuntu.com/channels.json
[systemimage] Dec 11 01:11:46 2014 (790) Local channels file: /tmp/system-image-_ce_m8i4/channels.json
[systemimage] Dec 11 01:11:46 2014 (790) got channel: ubuntu-core/devel
[systemimage] Dec 11 01:11:46 2014 (790) found channel/device entry: ubuntu-core/devel/generic_amd64
[systemimage] Dec 11 01:11:53 2014 (790) Upgrade path is 141
[systemimage] Dec 11 01:11:53 2014 (790) Update available; auto-download: 0
[systemimage] Dec 11 01:13:14 2014 (790) test and acquire checking lock
[systemimage] Dec 11 01:13:16 2014 (790) checking lock not acquired
[systemimage] Dec 11 01:23:17 2014 (790) SystemImage dbus main loop exited
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to snappy in Ubuntu.
https://bugs.launchpad.net/bugs/1400960
Title:
Problems with a snappy tour
To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy-ubuntu/+bug/1400960/+subscriptions
More information about the Ubuntu-server-bugs
mailing list