Fix: zapper_iot must define test_data issue#855
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #855 +/- ##
==========================================
+ Coverage 71.38% 74.68% +3.30%
==========================================
Files 108 111 +3
Lines 9674 11442 +1768
Branches 860 988 +128
==========================================
+ Hits 6906 8546 +1640
- Misses 2595 2690 +95
- Partials 173 206 +33
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
We default use test_data username/password, while test_data is not defined fallback to use provision_data username/password but just "ubunut"/"ubuntu" Signed-off-by: ChunAn Wu <an.wu@canonical.com>
d733160 to
a9ad6ff
Compare
artiepoole
left a comment
There was a problem hiding this comment.
Thank you @kiya956 , this seems to solve my problem exactly.
p-gentili
left a comment
There was a problem hiding this comment.
This works well with provisioning but it will fail during the test phase, mostly because the username there defaults to ubuntu.
What's your use case @artiepoole ? Only provisioning?
Sorry, it has been a few months. I have this message I sent to An which lead to this PR:
Which makes me think that the issue was with provisioning a device (a check was failing and so provisioning failed) attempting to do UC24 checkbox testing.
|
Ok, I guess we can close this PR for now. Ubuntu Core with console conf indeed requires the user to provide an email as username. Internally, we switched to system-user assertions. You guys might want to do the same. |
|
@p-gentili Hi Paolo, And sorry, I don't get what this mean |
|
Hey @kiya956, ok let's take care of that. Although, I'll need you to add a warning in case the A warning like: |
Hi @p-gentili I found I can not git push, would you like to grant me permission? Thanks |
We default use test_data username/password, while test_data is not defined, fallback to use provision_data username/password not just "ubunut"/"ubuntu"
Description
We default use test_data username/password, while test_data is not defined, fallback to use provision_data username/password not just "ubunut"/"ubuntu"
Resolved issues
Solving wrong userame/password while test_data is not defined.
Documentation
Web service API changes
Tests