Ubuntu 16.04 to Ubuntu18.04 upgrade fails on snap debug connectivity without logging any useful logs
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
While running the do-release-upgrade I faced the issue. The output from log is like:
DEBUG quirks: running bionicPostIniti
DEBUG running Quirks.
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 _checkStoreConn
Also it would be extremely useful to log traceback from abort. Can simplify the troubleshooting dramatically.
Thanks.
| description: | updated |
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | Incomplete → Confirmed |

From which release were you upgrading? I ask as the release upgrader should require you to have all updates installed before doing the upgrade. I do see your point about how more verbose logging would be helpful.