-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a manifest entry to check if a SIM card is inserted (New) #1500
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1500 +/- ##
=======================================
Coverage 47.50% 47.50%
=======================================
Files 369 369
Lines 39549 39549
Branches 6678 6678
=======================================
Hits 18788 18788
Misses 20050 20050
Partials 711 711
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Use 2 spaces instead of 4 to match the rest of the file.
7931482
to
427f80d
Compare
The following test is required on a device with a working WWAN module and a working SIM card:
→ the WWAN jobs should run succesfully. These should be:
Repeat the same steps, but this time selecting "No" for "A Working SIM Card Inserted". → This time, the 3 jobs mentioned above should be skipped. |
@pieqq Hi, there is no |
Thanks! It's weird that the other jobs don't show up. Could you run the following on that device and report the output?
and
|
Following some testing by @hanhsuan from QA team, we found the following:
This PR is good to land as is, and we need to work on the 3 aforementioned issues to prevent problems with WWAN testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gj identifying all the related issues.
LGTM +1!
Description
By creating a
has_sim_card
manifest entry and using it as a requirement on WWAN jobs that need a SIM card, this PR ensure these jobs will not fail if a WWAN is found, but has no working SIM card inserted.Resolved issues
#1493
https://warthogs.atlassian.net/browse/CHECKBOX-1578
Documentation
Tests
As I don't have a device with a WWAN module, nor a SIM card I could use, I just checked the status of the 24.04 test plan before and after applying this patch by calling
checkbox-cli expand "com.canonical.certification::client-cert-desktop-24-04" --format json | jq
onmain
and on this branch, and comparing the results (we can see the requirement onmanifest.has_sim_card
shows up):