[Bug 1810565] Re: Ubuntu 16.04 to Ubuntu18.04 upgrade fails on snap debug connectivity without logging any useful logs
sergiiF
framin at ukr.net
Fri Jan 11 21:01:07 UTC 2019
2019-01-03 21:02:19,137 INFO uname information: 'Linux skashaba-laptop 4.4.0-83-gene
ric #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64'
2019-01-03 21:02:19,410 INFO apt version: '1.2.20'
2019-01-03 21:02:19,411 INFO python version: '3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609]'
2019-01-03 21:02:19,413 INFO release-upgrader version '18.04.29' started
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1810565
Title:
Ubuntu 16.04 to Ubuntu18.04 upgrade fails on snap debug connectivity
without logging any useful logs
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
While running the do-release-upgrade I faced the issue. The output from log is like:
DEBUG quirks: running bionicPostInitialUpdate
DEBUG running Quirks.bionicPostInitialUpdate
DEBUG abort called
After some troubleshooting I found that it was failing on calling 'snap debug connectivity'.
Snap version I had was a bit old, which caused it to fail with panic on slice out of range.
The issue is insufficient logging. Because of the actual error was not
logged, It was impossible to find the issue without code debugging.
It would be awesome if you can put more logs into
_checkStoreConnectivity function and log stderr and stdout output from
popen.communicate before calling self.controller.abort()
Also it would be extremely useful to log traceback from abort. Can
simplify the troubleshooting dramatically.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1810565/+subscriptions
More information about the foundations-bugs
mailing list