You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the lab, when running the com.canonical.certification::wireless/nmcli_wifi_ap_a_p2p0.com.canonical.certification::wireless/nmcli_wifi_ap_a_p2p0 test on a given device (tillamook), the test fails with an error stating 'Namespace' object has no attribute 'essid' (see Jenkins job)
=============================
Attempt 1/5 (function 'main')
=============================
======================================
Attempt 1/5 (function 'device_rescan')
======================================
## Calling a rescan
+ nmcli d wifi rescan
List all APs
Attempt 1 failed:
'Namespace' object has no attribute 'essid'
Waiting 28.64 seconds before retrying...
=============================
Attempt 2/5 (function 'main')
=============================
======================================
Attempt 1/5 (function 'device_rescan')
======================================
## Calling a rescan
+ nmcli d wifi rescan
List all APs
Attempt 2 failed:
'Namespace' object has no attribute 'essid'
Waiting 23.74 seconds before retrying...
=============================
Attempt 3/5 (function 'main')
=============================
======================================
Attempt 1/5 (function 'device_rescan')
======================================
## Calling a rescan
+ nmcli d wifi rescan
List all APs
Attempt 3 failed:
'Namespace' object has no attribute 'essid'
Waiting 29.16 seconds before retrying...
=============================
Attempt 4/5 (function 'main')
=============================
======================================
Attempt 1/5 (function 'device_rescan')
======================================
## Calling a rescan
+ nmcli d wifi rescan
List all APs
Attempt 4 failed:
'Namespace' object has no attribute 'essid'
Waiting 26.12 seconds before retrying...
=============================
Attempt 5/5 (function 'main')
=============================
======================================
Attempt 1/5 (function 'device_rescan')
======================================
## Calling a rescan
+ nmcli d wifi rescan
List all APs
Attempt 5 failed:
'Namespace' object has no attribute 'essid'
All the attempts have failed!
Traceback (most recent call last):
File "/tmp/nest-rerwrk2o.430cf5d9c452dd87a259c40fc82bd409ff35077517a5df35acb7792d219e9edc/wifi_nmcli_test.py", line 409, in<module>sys.exit(main())
File "/snap/checkbox-tillamook/42/checkbox-runtime/lib/python3.5/site-packages/checkbox_support/helpers/retry.py", line 94, in _f
return run_with_retry(f, max_attempts, delay, *args, **kwargs)
File "/snap/checkbox-tillamook/42/checkbox-runtime/lib/python3.5/site-packages/checkbox_support/helpers/retry.py", line 58, in run_with_retry
result = f(*args, **kwargs)
File "/tmp/nest-rerwrk2o.430cf5d9c452dd87a259c40fc82bd409ff35077517a5df35acb7792d219e9edc/wifi_nmcli_test.py", line 387, in main
"Targed access point: {} not found".format(args.essid)
AttributeError: 'Namespace' object has no attribute 'essid'
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
In the lab, when running the
com.canonical.certification::wireless/nmcli_wifi_ap_a_p2p0.com.canonical.certification::wireless/nmcli_wifi_ap_a_p2p0
test on a given device (tillamook), the test fails with an error stating'Namespace' object has no attribute 'essid'
(see Jenkins job)Cert-blocker Test Case
To Reproduce
Expected Result
The test passes
Actual Result
The test fails with an
AttributeError
exception.Environment
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: