-
Notifications
You must be signed in to change notification settings - Fork 77
wifi_nmcli_test.py: not enough values to unpack (expected 2, got 1) #1737
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
In the lab, when running the com.canonical.certification::wireless/wireless_connection_open_bg_nm_wlan0 test on a device that fails to connect to an SSID, the function wait for connected fails with an error stating not enough values to unpack (expected 2, got 1) (see Jenkins job)
Cert-blocker Test Case
- cert-blocker
To Reproduce
- Run the test with an SSID that doesn't exist.
Expected Result
The test fails with the expected error message when the SSID is disconnected
Actual Result
The test fails with a not enough values to unpack (expected 2, got 1) exception.
Environment
- Checkbox Type: Snap
- Chekbox Version: checkbox20 4.4.0-dev6
Relevant log output
===========================================
Attempt 1/5 (function 'wait_for_connected')
===========================================
+ nmcli -m tabular -t -f GENERAL.STATE,GENERAL.CONNECTION d show wlan0
30 (disconnected)
Attempt 1 failed:
not enough values to unpack (expected 2, got 1)
Waiting 1.20 seconds before retrying...Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working