console-conf v0.0.5 crashes if no config needed

Bug #1667829 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Undecided
Unassigned
subiquity (Ubuntu)
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

On today's dragonboard image (built locally from candidate), console-conf crashed when I tried to "press-enter" my way through it.

Steps to reproduce the issue:
1. Plug a usb-ethernet adapter into a db410c.
2. Flash the latest candidate image to it, and boot it.
3. On the console, try to fall through console-conf with defaults. I pressed enter, enter, up, down, enter. (up/down were needed to select "Done" for the network setup)

Expected results: Proceed to the user account config page.

Actual results: Traceback (attached)

This process can be repeated without rebooting.

Attached log has multiple instances in it, followed by a successful configuration. To make it work, I simply had to enter the page for configuring eth0, then go back without changing anything. The relevant part seems to be "IndexError: list index out of range" and several pages leading up to it.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Oops. I'll look into this tomorrow (or maybe the day after if my daughter is sick again)

Changed in subiquity (Ubuntu):
status: New → Confirmed
assignee: nobody → Michael Hudson-Doyle (mwhudson)
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Fixed in git. BTW I think you usb ethernet device isn't working properly, at the least udev seems to think it's flapping, see all those "waiting 0.1 to let udev event queue settle" messages in the log you uploaded.

Changed in subiquity (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subiquity - 0.0.29

---------------
subiquity (0.0.29) zesty; urgency=medium

  * Fix a crash when widgets disappear (e.g. when a NIC is unplugged).
    (LP: #1667829)
  * Run subiquity on the serial console. (LP: #1660194)
  * Various improvements in wording and layout.
  * Allow a filesytem to be formatted but not mounted.
  * Rewrite the filesystem model code.
  * Change the geninstaller script to use netplan for network config.
  * Actually use the network config the user provides in the installed system.
  * Allow the gateway to be omitted when manually configuring an interface.
  * Make sure that timing out when waiting for a default route works properly.
    (LP: #1672803)
  * Make sure WPA PSK is between 8 and 63 characters long.
  * Add a confirmation dialog before writing data to disk.
  * Fix crash on startup of a configured Ubuntu Core system with no IP address.

 -- Michael Hudson-Doyle <email address hidden> Wed, 29 Mar 2017 11:09:03 +1300

Changed in subiquity (Ubuntu):
status: Fix Committed → Fix Released
Changed in snappy:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.