Closed pieqq closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 47.50%. Comparing base (
7182b16
) to head (427f80d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The following test is required on a device with a working WWAN module and a working SIM card:
client-cert-desktop-22-04
test plan→ the WWAN jobs should run succesfully. These should be:
wwan/3gpp-scan-manufacturer-model-hw_id-auto
wwan/check-sim-present-manufacturer-model-hw_id-auto
wwan/gsm-connection-manufacturer-model-hw_id-auto
)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 A working SIM card inserted
manifest could be selected.
The manifest is shown, but only one job you mentioned is shown and tested.
Thanks! It's weird that the other jobs don't show up.
Could you run the following on that device and report the output?
$ checkbox-cli list-bootstrapped com.canonical.certification::client-cert-desktop-22-04
and
$ checkbox-cli expand com.canonical.certification::client-cert-desktop-22-04
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.
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):